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