From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM3WX-0001B8-AZ for qemu-devel@nongnu.org; Thu, 03 Nov 2011 16:04:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RM3WW-0002FT-9R for qemu-devel@nongnu.org; Thu, 03 Nov 2011 16:04:29 -0400 Received: from e39.co.us.ibm.com ([32.97.110.160]:36925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM3WW-0002F6-39 for qemu-devel@nongnu.org; Thu, 03 Nov 2011 16:04:28 -0400 Received: from /spool/local by e39.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 3 Nov 2011 14:04:23 -0600 Received: from d03av05.boulder.ibm.com (d03av05.boulder.ibm.com [9.17.195.85]) by d03relay01.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pA3K4C3S128738 for ; Thu, 3 Nov 2011 14:04:14 -0600 Received: from d03av05.boulder.ibm.com (loopback [127.0.0.1]) by d03av05.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pA3K4Anh031910 for ; Thu, 3 Nov 2011 14:04:11 -0600 Message-ID: <4EB2F3B4.3040604@linux.vnet.ibm.com> Date: Thu, 03 Nov 2011 16:04:04 -0400 From: Corey Bryant 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> <4EB20618.3040600@linux.vnet.ibm.com> In-Reply-To: <4EB20618.3040600@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: Mark Wu Cc: rmarwah@linux.vnet.ibm.com, aliguori@us.ibm.com, qemu-devel@nongnu.org On 11/02/2011 11:10 PM, Mark Wu wrote: > 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. > Yes, I agree. I'll do that in version 5 of the patch series. Thanks for pointing that out. Regards, Corey