* [Qemu-devel] Communication between Windows 7 host and Linux guest
[not found] <C7CAA0C086F5754BB8CF2FF987E7B9EF070738@S02125.neopost.grp>
@ 2013-12-22 19:15 ` Gripon Sébastien
2014-01-06 2:15 ` Stefan Hajnoczi
0 siblings, 1 reply; 3+ messages in thread
From: Gripon Sébastien @ 2013-12-22 19:15 UTC (permalink / raw)
To: qemu-devel@nongnu.org
[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]
Hi,
I have the need to communicate efficiently between Windows 7 host and linux guest. I tried first to use an IP socket communication using TAP driver on Windows. Unfortunately, we reach a maximum of 4 Mbits/s where I would need faster communication (more than 10 Mb/s). I don’t know yet if the TAP driver is slow.
Anyway, I wonder if there are other way to do such communication. In the qemu reference help, I can see that there are some options to communicate through a pipe for example:
-chardev backend ,id=id [,mux=on|off] [,options]
Backend is one of: null, socket, udp, msmouse, vc, ringbuf, file, pipe, console, serial, pty, stdio, braille, tty, parallel, parport, spicevmc. spiceport. The specific backend will determine the applicable options.
But I don’t really understand what this exactly does and I never managed to use it. Is it supposed to map some hardware read/write on read/write on pipe? What kind of hardware? How to use it? Do I need modifications on the Linux guest?
Thanks a lot for your help,
sgripon
[-- Attachment #2: Type: text/html, Size: 7348 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Communication between Windows 7 host and Linux guest
2013-12-22 19:15 ` [Qemu-devel] Communication between Windows 7 host and Linux guest Gripon Sébastien
@ 2014-01-06 2:15 ` Stefan Hajnoczi
2014-01-06 10:09 ` Gripon Sébastien
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Hajnoczi @ 2014-01-06 2:15 UTC (permalink / raw)
To: Gripon Sébastien; +Cc: qemu-devel@nongnu.org
On Sun, Dec 22, 2013 at 07:15:18PM +0000, Gripon Sébastien wrote:
> I have the need to communicate efficiently between Windows 7 host and linux guest. I tried first to use an IP socket communication using TAP driver on Windows. Unfortunately, we reach a maximum of 4 Mbits/s where I would need faster communication (more than 10 Mb/s). I don’t know yet if the TAP driver is slow.
That seems very slow, 100 Mbit/s should definitely be achievable. But I
have never tried TAP on Windows.
Can you share the QEMU command-line and the benchmark used to measure
this result?
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Communication between Windows 7 host and Linux guest
2014-01-06 2:15 ` Stefan Hajnoczi
@ 2014-01-06 10:09 ` Gripon Sébastien
0 siblings, 0 replies; 3+ messages in thread
From: Gripon Sébastien @ 2014-01-06 10:09 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: qemu-devel@nongnu.org
This is the command line:
qemu-system-armw -M versatilepb -kernel ..\BaseQemu\zImage -hda ..\BaseQemu\rootfs.squashfs -hdb ..\BaseQemu\flash.ext3 -append "root=/dev/sda r" -net tap,ifname=TAP,script=no -net nic
I talked with the developer here and it seems that the bad speed is mainly due to latency. We are investigating also on our side because we use a "special" environment: in fact, we use VisualGDB to debug from Visual studio into qemu. It seems that VisualGDB's ssh client has poor performances but I don't know yet where the latency come from.
Sebastien
-----Message d'origine-----
De : Stefan Hajnoczi [mailto:stefanha@gmail.com]
Envoyé : lundi 6 janvier 2014 03:15
À : Gripon Sébastien
Cc : qemu-devel@nongnu.org
Objet : Re: [Qemu-devel] Communication between Windows 7 host and Linux guest
On Sun, Dec 22, 2013 at 07:15:18PM +0000, Gripon Sébastien wrote:
> I have the need to communicate efficiently between Windows 7 host and linux guest. I tried first to use an IP socket communication using TAP driver on Windows. Unfortunately, we reach a maximum of 4 Mbits/s where I would need faster communication (more than 10 Mb/s). I don’t know yet if the TAP driver is slow.
That seems very slow, 100 Mbit/s should definitely be achievable. But I have never tried TAP on Windows.
Can you share the QEMU command-line and the benchmark used to measure this result?
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-06 10:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <C7CAA0C086F5754BB8CF2FF987E7B9EF070738@S02125.neopost.grp>
2013-12-22 19:15 ` [Qemu-devel] Communication between Windows 7 host and Linux guest Gripon Sébastien
2014-01-06 2:15 ` Stefan Hajnoczi
2014-01-06 10:09 ` Gripon Sébastien
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).