From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:45250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLni6-0003JU-Ut for qemu-devel@nongnu.org; Wed, 02 Nov 2011 23:11:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLni5-0008Aj-0d for qemu-devel@nongnu.org; Wed, 02 Nov 2011 23:11:22 -0400 Received: from e23smtp01.au.ibm.com ([202.81.31.143]:51777) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLni4-0008AT-4s for qemu-devel@nongnu.org; Wed, 02 Nov 2011 23:11:20 -0400 Received: from d23relay05.au.ibm.com (d23relay05.au.ibm.com [202.81.31.247]) by e23smtp01.au.ibm.com (8.14.4/8.13.1) with ESMTP id pA339TXe018743 for ; Thu, 3 Nov 2011 14:09:29 +1100 Received: from d23av03.au.ibm.com (d23av03.au.ibm.com [9.190.234.97]) by d23relay05.au.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pA338FCS1974360 for ; Thu, 3 Nov 2011 14:08:22 +1100 Received: from d23av03.au.ibm.com (loopback [127.0.0.1]) by d23av03.au.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pA33B8tS029070 for ; Thu, 3 Nov 2011 14:11:08 +1100 Message-ID: <4EB20618.3040600@linux.vnet.ibm.com> Date: Thu, 03 Nov 2011 11:10:16 +0800 From: Mark Wu MIME-Version: 1.0 References: <1320086191-23641-1-git-send-email-coreyb@linux.vnet.ibm.com> <1320086191-23641-5-git-send-email-coreyb@linux.vnet.ibm.com> In-Reply-To: <1320086191-23641-5-git-send-email-coreyb@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 4/4] Add support for net bridge List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Corey Bryant Cc: rmarwah@linux.vnet.ibm.com, aliguori@us.ibm.com, qemu-devel@nongnu.org On 11/01/2011 02:36 AM, Corey Bryant wrote: > The default bridge that we attach to is br0. The thinking is that a distro > could preconfigure such an interface to allow out-of-the-box bridged networking. > > Alternatively, if a user wants to use a different bridge, they can say: > > qemu linux.img -net bridge,br=qemubr0 -net nic,model=virtio > > or: > > qemu linux.img -net tap,helper=/usr/local/libexec/qemu-bridge-helper,br=qemubr0 > -net nic,model=virtio > With this series of patches, I can also use "bridge" with the option "-netdev". So do you think we need update the doc for 'netdev' too? qemu-system-x86_64 ../rhel61.img --enable-kvm -m 1024 -netdev bridge,br=virbr0,helper=/usr/local/libexec/qemu-bridge-helper,id=port1 -device virtio-net-pci,netdev=port1,id=nic1 Forgot to point out this in last post. Sorry for that.