[pve-devel] disable-efi-enable-pxe-roms.patch break livemigration from old qemu guest without pxe
Dietmar Maurer
dietmar at proxmox.com
Sun Oct 25 07:06:51 CET 2015
> >>my $res = PVE::QemuServer::vm_mon_cmd($vmid, 'query-version');
> >>print $res->{'package'};
> >>
> >>older version simply return '' string.
>
> Great ! But how does it help with migration ? maybe does I miss something ?
>
> if we want to known if the vm is using pxe or efi, we need to use machine
> model, not qemu version.
Yes. But maybe it is helpful in future, because we exactly know the package
version of started VMs.
> if we want to enable efi for qemu 2.4, maybe it could be easy to introduce
> something like
>
> DEFINE_I440FX_MACHINE(v2_4, "pc-i440fx-2.4-efi", NULL,
> pc_i440fx_2_4_machine_options)
>
> in i386/pc_piix.c
>
>
> like this, we can known that <= pc-i440fx-2.4: pxe, and >= pc-i440fx-2.4-efi:
> efi.
sounds like a good idea to me.
More information about the pve-devel
mailing list