From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shirley Ma Subject: Re: vhost-net patches Date: Wed, 28 Oct 2009 11:13:43 -0700 Message-ID: <1256753623.24155.4.camel@localhost.localdomain> References: <20091025091117.GA9270@redhat.com> <1256593067.10142.10.camel@localhost.localdomain> <200910281846.43741.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: "Michael S. Tsirkin" , Sridhar Samudrala , Shirley Ma , David Stevens , kvm@vger.kernel.org, sri@linux.vnet.ibm.com, mashirle@linux.vnet.ibm.com To: Arnd Bergmann Return-path: Received: from e32.co.us.ibm.com ([32.97.110.150]:55472 "EHLO e32.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753217AbZJ1SOI (ORCPT ); Wed, 28 Oct 2009 14:14:08 -0400 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e32.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id n9SI96qW027327 for ; Wed, 28 Oct 2009 12:09:06 -0600 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n9SIDmiA066108 for ; Wed, 28 Oct 2009 12:13:54 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id n9SIDiRq025058 for ; Wed, 28 Oct 2009 12:13:45 -0600 In-Reply-To: <200910281846.43741.arnd@arndb.de> Sender: kvm-owner@vger.kernel.org List-ID: Hello Arnd, On Wed, 2009-10-28 at 18:46 +0100, Arnd Bergmann wrote: > You can probably connect it like this: > > qemu - vhost_net - vnet0 == /dev/tun - qemu > > To connect two guests. > > I've also used a bidirectional pipe before, to connect two tap > interfaces to each other. However, if you want to connect to > a bridge, the easier interface would be to use a veth pair, > with one end on the bridge and the other end used for the packet > socket. Thanks for the tip, I will make a try. Shirley