From: Peter Lieven <pl@dlh.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] QemuOpts eventually breaks net/tap parsing if more than one VLAN/NIC
Date: Sat, 10 Oct 2009 21:04:40 +0200 [thread overview]
Message-ID: <4AD0DAC8.90209@dlh.net> (raw)
-----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-----
next reply other threads:[~2009-10-10 19:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-10 19:04 Peter Lieven [this message]
2009-10-12 8:52 ` [Qemu-devel] [PATCH 1/1] net: fix multiple NICs causing net opts process to stop Mark McLoughlin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AD0DAC8.90209@dlh.net \
--to=pl@dlh.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).