From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwhFM-0005K4-NU for qemu-devel@nongnu.org; Sat, 10 Oct 2009 15:04:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwhFL-0005IB-CH for qemu-devel@nongnu.org; Sat, 10 Oct 2009 15:04:51 -0400 Received: from [199.232.76.173] (port=34598 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwhFL-0005Hz-73 for qemu-devel@nongnu.org; Sat, 10 Oct 2009 15:04:51 -0400 Received: from zion.dlh.net ([91.198.192.1]:54419 helo=mail.dlh.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MwhFK-0002ee-DG for qemu-devel@nongnu.org; Sat, 10 Oct 2009 15:04:50 -0400 Received: from office1.dus1.de.inetbone.net ([213.203.192.254] helo=[192.168.253.26]) by mail.dlh.net with asmtp (Exim 3.36 #24 (Debian)) id 1MwhFC-0001an-00 for ; Sat, 10 Oct 2009 21:04:42 +0200 Message-ID: <4AD0DAC8.90209@dlh.net> Date: Sat, 10 Oct 2009 21:04:40 +0200 From: Peter Lieven MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] QemuOpts eventually breaks net/tap parsing if more than one VLAN/NIC List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, i today updated to latest qemu snapshot from git. Unforunately I stumbled over the following problem: Case 1) -net tap before -net nic cmdline: /usr/local/bin/qemu-system-x86_64 -net tap,vlan=711,ifname=tap3,script=no -net nic,vlan=711,model=e1000,macaddr=52:54:00:ff:00:02 -net tap,vlan=712,ifname=tap4,script=no -net nic,vlan=712,model=e1000,macaddr=52:54:00:ff:00:03 -hda /dev/sdb -m 1024 -smp 2 -localtime -usb - -usbdevice tablet -monitor tcp:0:4010,server,nowait -vnc :10 -name XXX -boot order=c,menu=on - -pidfile /var/run/qemu/vm-3.pid Everything works as expected. Case 2) -net tap after -net nic cmdline: /usr/local/bin/qemu-system-x86_64 -net nic,vlan=711,model=e1000,macaddr=52:54:00:ff:00:02 - -net tap,vlan=711,ifname=tap3,script=no -net nic,vlan=712,model=e1000,macaddr=52:54:00:ff:00:03 -net tap,vlan=712,ifname=tap4,script=no -hda /dev/sdb -m 1024 -smp 2 -localtime -usb -usbdevice tablet - -monitor tcp:0:4010,server,nowait -vnc :10 -name XXX -boot order=c,menu=on -pidfile /var/run/qemu/vm-3.pid I get the following warning: Warning: vlan 712 is not connected to host network In the qemu monitor I see, that vlan712 does not contain the tap interface. However, the tap4 interface is created on the host. vlan711 is working as expected. I suspect that is has sth todo with the migration to QemuOpts as an earlier checkout without QemuOpts works well. Can someone who is more familiar with the QemuOpts implementation please look at this. Thanks, Peter -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrQ2sgACgkQO/ibohXUOnKeawCfVRBvoyuG0sHFzH0/3Cx/vhJW DG4AoOVIj1pdN9qmRkX8p9MYkP2jB34t =QJjf -----END PGP SIGNATURE-----