[pve-devel] qemu / kvm romfile code in QemuServer breaks migration

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Wed Jan 7 15:21:31 CET 2015


today i wanted to migrate a VM which does not have network in their boot

This resulted in the following error of the KVM process:
kvm: Unknown ramblock "0000:00:12.0/virtio-net-pci.rom", cannot accept
qemu: warning: error while loading state for instance 0x0 of device 'ram'
kvm: load of migration failed: Invalid argument

I've seen that QemuServer has generated params like those:

They come from the following piece of code:
# qemu > 0.15 always try to boot from network - we disable that by
# not loading the pxe rom file
 $extra = ($bootorder !~ m/n/) ? "romfile=," : '';
 $tmpstr =

Is this still valid or does this still makes any sense?


More information about the pve-devel mailing list