-netdev & PXEboot
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 NICOn the other hand,
$ kvm -net tap,ifname=tap-kvm \
-net nic,model=virtio -boot nboots 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