qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 4/4] Add support for net bridge


From: Corey Bryant
Subject: Re: [Qemu-devel] [PATCH v3 4/4] Add support for net bridge
Date: Thu, 03 Nov 2011 16:04:04 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]