From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DroTX-0003Lx-7C for qemu-devel@nongnu.org; Sun, 10 Jul 2005 22:56:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DroTO-0003Hl-Ci for qemu-devel@nongnu.org; Sun, 10 Jul 2005 22:56:48 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DroTO-0003A3-1I for qemu-devel@nongnu.org; Sun, 10 Jul 2005 22:56:46 -0400 Received: from [128.8.10.163] (helo=po1.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DroFH-0008Lj-9f for qemu-devel@nongnu.org; Sun, 10 Jul 2005 22:42:11 -0400 Received: from jbrown.mylinuxbox.org (jma-box.student.umd.edu [129.2.237.180]) by po1.wam.umd.edu (8.12.10/8.12.10) with ESMTP id j6B2YdRu028872 for ; Sun, 10 Jul 2005 22:34:39 -0400 (EDT) Date: Sun, 10 Jul 2005 22:33:26 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] Connecting vde and LAN Message-ID: <20050711023326.GA31625@jbrown.mylinuxbox.org> References: <42D11415.70106@gmx.de> <20050710173735.GA21204@jbrown.mylinuxbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 On Mon, Jul 11, 2005 at 04:21:31AM +0200, Henrik Nordstrom wrote: > On Sun, 10 Jul 2005, Jim C. Brown wrote: > > >The best solution is to use a vde_switch with libpcap and libnet. This > >allows > >intercepting packets meant for the guests (via libnet) and forwarding them > >thru > >vde. > > Interesting idea. Would make full qemu networking truly a no-brainer. > > Should even be possible to write just the libpcap+libnet "driver", > avoiding the need of a full vde_switch in such case. > Yes, but if one was running multiple qemu guests, it would be cleaner to implement this thru vde_switch instead of in qemu directly. That way eth0 is intercepted by only a single process. (Also no worries about having permissions to intercept packets and etc for qemu - just run vde_switch as root and qemu as a regular user.) -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.