qemu-server/test
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
..
cfg2cmd always pin windows VMs to a machine version by default 2021-03-05 20:46:46 +01:00
MigrationTest test: migrate: correctly mock storage module 2021-02-08 16:25:49 +01:00
ovf_manifests test: add test for OVF with missing default rasd namespace 2020-04-27 13:09:51 +02:00
snapshot-expected add new tests for 'runningmachine' and rollback 2018-09-17 15:49:31 +02:00
snapshot-input add new tests for 'runningmachine' and rollback 2018-09-17 15:49:31 +02:00
Makefile buildsys: clean: remove migration test runtime files 2021-01-12 12:01:41 +01:00
run_config2command_tests.pl tests: do not use for-loop for globs 2020-10-19 15:32:31 +02:00
run_ovf_tests.pl test: add test for OVF with missing default rasd namespace 2020-04-27 13:09:51 +02:00
run_pci_addr_checks.pl move qemu-configs to own directory 2019-09-24 18:59:35 +02:00
run_qemu_img_convert_tests.pl grammar fix: s/does not exists/does not exist/g 2019-12-13 12:20:56 +01:00
run_qemu_migrate_tests.pl tests: allow running migration tests in parallel 2020-12-18 17:47:27 +01:00
run_snapshot_tests.pl tests: exit with -1 in case of failures 2017-05-17 13:58:18 +02:00
snapshot-test.pm snapshot-test: mock query-savevm better 2021-02-25 21:20:06 +01:00
test_get_replicatable_volumes.pl grammar fix: s/does not exists/does not exist/g 2019-12-13 12:20:56 +01:00
test.vmdk fix #2395: refactor qemu_img_convert to accept files as source 2019-10-17 13:57:21 +02:00