From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrgR0-0003Ka-4k for qemu-devel@nongnu.org; Wed, 08 Apr 2009 18:39:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrgQz-0003KM-G6 for qemu-devel@nongnu.org; Wed, 08 Apr 2009 18:39:53 -0400 Received: from [199.232.76.173] (port=52059 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrgQz-0003KJ-B6 for qemu-devel@nongnu.org; Wed, 08 Apr 2009 18:39:53 -0400 Received: from smtp23.services.sfr.fr ([93.17.128.19]:59397) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LrgQy-0000e9-TE for qemu-devel@nongnu.org; Wed, 08 Apr 2009 18:39:53 -0400 Received: from filter.sfr.fr (localhost [127.0.0.1]) by msfrf2304.sfr.fr (SMTP Server) with ESMTP id 6CC8C700008C for ; Thu, 9 Apr 2009 00:39:51 +0200 (CEST) Received: from [192.168.1.2] (mol92-3-89-80-166-40.dsl.club-internet.fr [89.80.166.40]) by msfrf2304.sfr.fr (SMTP Server) with ESMTP id 3A0BA7000089 for ; Thu, 9 Apr 2009 00:39:51 +0200 (CEST) From: Vincent Perrier Content-Type: text/plain Date: Thu, 09 Apr 2009 00:40:52 +0200 Message-Id: <1239230452.23899.22.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] socket from virtual eth Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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