qemu-server/PVE
Thomas Lamprecht 4dd1e83c75 always pin windows VMs to a machine version by default
A fix for violating a important standard for booting[0] in recently
packaged QEMU 5.2 surfaced some issues with Windows based VMs in our
forum[1], which seem to be quite sensitive for such changes (it seems
they derive lots of their device assignment from ACPI).
User visible effects are loss of any network configuration due to
windows thinking it was swapped with a new one, and starts with a
fresh config - this is mostly problematic for setups with static
address assignment.

There may be lots of other, more subtle, effects and the PVE admin is
also not always the VM admin, so we really need to avoid such
negative effects. Do this by pinning the version of any windows based
VMs to either the minimum of (5.1, kvm-version) for existing VMs or
the kvm-version at time of VM creation for new ones.

There are patches in pve-manager for user to be able to change the
pinned version themself in the webinterface, so this can now also get
adapted more easily if there surface any other issues (with new or
old version) in the future.

0: https://lists.gnu.org/archive/html/qemu-devel/2021-02/msg08484.html
1: https://forum.proxmox.com/threads/warning-latest-patch-just-broke-all-my-windows-vms-6-3-4-patch-inside.84915/page-2#post-373331

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-05 20:46:46 +01:00
..
API2 always pin windows VMs to a machine version by default 2021-03-05 20:46:46 +01:00
CLI qm: import ovf: removed all imported disks on error 2021-01-25 14:58:57 +01:00
QemuServer can_run_pve_machine_version: PVE version can really be optional 2021-03-05 18:49:06 +01:00
VZDump vzdump: use renderers from Tools instead of duplicating code 2021-02-08 16:35:24 +01:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm snapshot: clear up log messages 2021-02-11 14:06:02 +01:00
QemuMigrate.pm migration: sort volumes migrated with storage_migrate 2020-12-15 15:21:37 +01:00
QemuServer.pm always pin windows VMs to a machine version by default 2021-03-05 20:46:46 +01:00
QMPClient.pm tree wide cleanups 2020-10-16 18:03:32 +02:00