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

Dietmar Maurer dietmar at proxmox.com
Thu Jan 8 06:14:31 CET 2015


> 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 =
> "$device,${extra}mac=$net->{macaddr},netdev=$netid$pciaddr,id=$netid";
> 
> Is this still valid or does this still makes any sense?
> 

Just tested, and 'romfile=," is stil required - else the VM starts to boot from
network.
Not sure if there is a better solution to disable net boot?




More information about the pve-devel mailing list