|
From: | Mark Wu |
Subject: | Re: [Qemu-devel] [PATCH v3 4/4] Add support for net bridge |
Date: | Thu, 03 Nov 2011 11:10:16 +0800 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110927 Red Hat/3.1.15-1.el6_1 Thunderbird/3.1.15 |
On 11/01/2011 02:36 AM, Corey Bryant wrote:
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=nic1The 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
Forgot to point out this in last post. Sorry for that.
[Prev in Thread] | Current Thread | [Next in Thread] |