qemu-server/PVE
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
..
API2 api: use get_vm_arch instead of depreacted basic_machine_info 2019-11-25 10:51:44 +01:00
CLI refactor: create QemuServer::Monitor for high-level QMP access 2019-11-20 16:29:23 +01:00
QemuServer implement PVE Version addition for QEMU machine 2019-11-25 16:43:38 +01:00
VZDump refactor: extract QEMU machine related helpers to package 2019-11-20 16:29:23 +01:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm refactor: extract QEMU machine related helpers to package 2019-11-20 16:29:23 +01:00
QemuMigrate.pm refactor: extract QEMU machine related helpers to package 2019-11-20 16:29:23 +01:00
QemuServer.pm implement PVE Version addition for QEMU machine 2019-11-25 16:43:38 +01:00
QMPClient.pm refactor: create QemuServer::Helpers and move file/dir code 2019-11-20 16:29:23 +01:00