qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] socket from virtual eth
@ 2009-04-08 22:40 Vincent Perrier
  0 siblings, 0 replies; only message in thread
From: Vincent Perrier @ 2009-04-08 22:40 UTC (permalink / raw)
  To: qemu-devel

Hello,
I use the sockets (tcp) to simulate my ethernet devices inside 
the qemu-kvm machines with the line: 

"-net socket,vlan=%d,connect=127.0.0.1:%d"

As you see I use the lo interface, and the use of a port on the
host machine is not required.

The software using this soft is a graphical virtual network manager, at
http://clownix.net as it was made for the UML virtual machine at first,
it used sun sockets to emulate ethernet inside UMLs.

I wonder if I will have (or have not yet found) unix sockets instead 
of ip ones for the qemu eth (I have the basic qemu of fedora 10).
I find it very strange not to have unix sockets for eth, since I use
"-serial unix:%s" for the ttySx access of qemu machines and those are
unix sockets.

And for the tcp sockets, I lost some time before I found out about 
the 4 first bytes giving the size of the incoming packet.
 
I have yet another question, do you think that the network performance
is reduced through sockets, or is it the same as an access such as tap?

Regards
Vincent Perrier

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-08 22:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-08 22:40 [Qemu-devel] socket from virtual eth Vincent Perrier

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).