qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Vincent Perrier <vincent-perrier@club-internet.fr>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] socket from virtual eth
Date: Thu, 09 Apr 2009 00:40:52 +0200	[thread overview]
Message-ID: <1239230452.23899.22.camel@localhost.localdomain> (raw)

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

                 reply	other threads:[~2009-04-08 22:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1239230452.23899.22.camel@localhost.localdomain \
    --to=vincent-perrier@club-internet.fr \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).