From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3uvn-0005fQ-CG for qemu-devel@nongnu.org; Tue, 12 May 2009 12:34:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3uvi-0005ZZ-MH for qemu-devel@nongnu.org; Tue, 12 May 2009 12:34:14 -0400 Received: from [199.232.76.173] (port=40291 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3uvi-0005ZH-Er for qemu-devel@nongnu.org; Tue, 12 May 2009 12:34:10 -0400 Received: from lizzard.sbs.de ([194.138.37.39]:16922) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M3uvh-00054s-Q0 for qemu-devel@nongnu.org; Tue, 12 May 2009 12:34:10 -0400 Message-ID: <4A09A4FC.5000108@siemens.com> Date: Tue, 12 May 2009 18:34:04 +0200 From: Jan Kiszka MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH] Add pcap-based host network bridge References: <49C0BFCD.1040304@siemens.com> <49CE5DD1.1010302@codemonkey.ws> <7A9475ADF255438F86B48879B553733E@FSCPC> <4A09320F.1000705@siemens.com> <20090512154838.GI21463@csclub.uwaterloo.ca> In-Reply-To: <20090512154838.GI21463@csclub.uwaterloo.ca> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lennart Sorensen Cc: qemu-devel@nongnu.org, Sebastian Herbszt Lennart Sorensen wrote: > On Tue, May 12, 2009 at 10:23:43AM +0200, Jan Kiszka wrote: >> We basically dropped the idea as it turned out that - at least under >> Linux - there is no host<->guest link realizable with reasonable effort. > > Has anyone ever looked at how vmware's vmnet does it? Whatever they do (I bet it's nothing trivial): Everything that complicates the pcap-based approach beyond a certain level (roughly the one that is required for tap-based bridges) makes it unattractive. There are alternatives (except for ancient Win2k IIRC), pcap just appeared to be a cheap shortcut. But that turned out to be not true. Jan -- Siemens AG, Corporate Technology, CT SE 2 Corporate Competence Center Embedded Linux