qemu-server/test
Thomas Lamprecht 9471e48bf9 implement PVE Version addition for QEMU machine
With our QEMU 4.1.1 package we can pass a additional internal version
to QEMU's machine, it will be split out there and ignored, but
returned on a QMP 'query-machines' call.

This allows us to use it for increasing the granularity with which we
can roll-out HW layout changes/additions for VMs. Until now we
required a machine version bump, happening normally every major
release of QEMU, with seldom, for us irrelevant, exceptions.
This often delays rolling out a feature, which would break
live-migration, by several months. That can now be avoided, the new
"pve-version" component of the machine can be bumped at will, and
thus we are much more flexible.

That versions orders after the ($major, $minor) version components
from an stable release - it can thus also be reset on the next
release.

The implementation extends the qemu-machine REGEX, remembers
"pve-version" when doing a "query-machines" and integrates support
into the min_version and extract_version helpers.

We start out with a version of 1.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Stefan Reiter <s.reiter@proxmox.com>
2019-11-25 16:43:38 +01:00
..
cfg2cmd implement PVE Version addition for QEMU machine 2019-11-25 16:43:38 +01:00
ovf_manifests Add tests for parse_ovf function 2017-09-25 13:31:55 +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 add tests for qemu_img_convert 2019-10-17 13:57:21 +02:00
run_config2command_tests.pl test: cfg2cmd: do NOT sort expected/actual commands 2019-10-09 08:08:24 +02:00
run_ovf_tests.pl Add tests for parse_ovf function 2017-09-25 13:31:55 +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 fix #2469: fix qemu-img convert src_format detection 2019-11-25 13:45:46 +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 followup snapshot-test: pass class to cfs_config_path 2019-11-20 19:05:14 +01:00
test_get_replicatable_volumes.pl add regression tests for get_replicatable_volumes 2017-06-14 07:02:43 +02:00
test.vmdk fix #2395: refactor qemu_img_convert to accept files as source 2019-10-17 13:57:21 +02:00