I sent this email yesterday but it never come back to
me and is not shown in archives. So resending it.
I noticed that with the -netdev syntax (introduced in 0.12)
it is not possible to perform network booting anymore:
$ kvm -net tap,ifname=tap-kvm,id=net0 \
-device virtio-net-pci,id=net0 -boot n
Cannot boot from non-existent NIC
On the other hand,
$ kvm -net tap,ifname=tap-kvm \
-net nic,model=virtio -boot n
boots ok.
I also noticed that it's not possible to use
boot=on parameter for network booting at all:
$ kvm -net tap,ifname=tap-kvm -net nic,model=virtio,boot=on
option "boot" is not valid for net
$ kvm -net tap,ifname=tap-kvm,id=net0 -device virtio-net-pci,id=net0,boot=on
property "virtio-net-pci.boot" not found
can't set property "boot" to "on" for "virtio-net-pci"
What's the way to PXE-boot when using the new
-netdev syntax?
Thanks!
/mjt
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html