[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] QEMU pipe implementation for Windows(host) Linux(guest)
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] QEMU pipe implementation for Windows(host) Linux(guest) interaction |
Date: |
Thu, 23 Feb 2017 09:19:43 +0000 |
User-agent: |
Mutt/1.7.1 (2016-10-04) |
On Thu, Feb 23, 2017 at 08:45:17AM +0100, Jiahuan Zhang wrote:
> Dear QEMU developers,
>
> I am a student working on the host-guest interaction for a Windows Host and
> Linux Quest. Actually, I aim to make a universal pipe implementation for
> any host-guest interaction.
FWIW, there's already two general purpose host<->guest communication
channels for QEMU - virtio-serial (like a traditional serial port
but giving them names & allowing many to be create) and virtio-vsock
(like UNIX domain sockets, but across host/guest - alternatively like
TCP/IP sockets, but without network devices involved)
> I am now using a serial port to redirect to a pipe. This is working with
> LInux host and Linux guest by using "mkfifo" to create the pipe. However, I
> don't know how to create a pipe in Windows for QEMU usage.
IIUC, you don't need to pre-create the pipe on Windows with QEMU chardevs.
It looks like the code takes the filename you set, appends ".pipe" and
then calls CreateNamedPipe to create it pipe.
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://entangle-photo.org -o- http://search.cpan.org/~danberr/ :|