Will Trives wrote: > Hello guys, > > Bug: A virtual machine/guest can only have one virtio block device and > one virtio network device. > > Example command line: > > qemu-system-x86_64 -drive file=disk.qcow2,if=virtio,boot=on -net > nic,model=virtio,macaddr=50:18:99:55:4E:43 -net tap -net > nic,model=virtio,macaddr=51:17:99:55:4D:43 -net tap >
You need to place the two nics on separate qemu vlans: qemu-system-x86_64 -drive file=disk.qcow2,if=virtio,boot=on -net nic,model=virtio,macaddr=50:18:99:55:4E:43.vlan=0 -net tap,vlan=0 -net nic,model=virtio,macaddr=51:17:99:55:4D:43,vlan=1 -net tap,vlan=1 (a qemu vlan is just a virtual ethernet segment, not 802.3q (or whatever it's called) vlan)). Ideally it should work without this, but there's a bug in one of the virtio optimizations that prevents it from working correctly. -- Any sufficiently difficult bug is indistinguishable from a feature. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel
