* [Qemu-devel] QEMU pipe implementation for Windows(host) Linux(guest) interaction
@ 2017-02-23 7:45 Jiahuan Zhang
2017-02-23 9:19 ` Daniel P. Berrange
0 siblings, 1 reply; 2+ messages in thread
From: Jiahuan Zhang @ 2017-02-23 7:45 UTC (permalink / raw)
To: qemu-devel
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.
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.
Any thought is greatly appreciated!
best regards,
Jiahuan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] QEMU pipe implementation for Windows(host) Linux(guest) interaction
2017-02-23 7:45 [Qemu-devel] QEMU pipe implementation for Windows(host) Linux(guest) interaction Jiahuan Zhang
@ 2017-02-23 9:19 ` Daniel P. Berrange
0 siblings, 0 replies; 2+ messages in thread
From: Daniel P. Berrange @ 2017-02-23 9:19 UTC (permalink / raw)
To: Jiahuan Zhang; +Cc: qemu-devel
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/ :|
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-23 9:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-23 7:45 [Qemu-devel] QEMU pipe implementation for Windows(host) Linux(guest) interaction Jiahuan Zhang
2017-02-23 9:19 ` Daniel P. Berrange
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).