qemu-server/PVE/QemuServer
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
..
Agent.pm refactor: create QemuServer::Monitor for high-level QMP access 2019-11-20 16:29:23 +01:00
Cloudinit.pm cloudinit: fix vm start hanging with disk on ZFS 2019-10-18 21:40:34 +02:00
Helpers.pm implement PVE Version addition for QEMU machine 2019-11-25 16:43:38 +01:00
ImportDisk.pm qm importdisk: tell user to what VM disk we actually imported 2019-10-29 19:11:21 +01:00
Machine.pm implement PVE Version addition for QEMU machine 2019-11-25 16:43:38 +01:00
Makefile refactor: extract QEMU machine related helpers to package 2019-11-20 16:29:23 +01:00
Memory.pm refactor: create QemuServer::Monitor for high-level QMP access 2019-11-20 16:29:23 +01:00
Monitor.pm refactor: create QemuServer::Monitor for high-level QMP access 2019-11-20 16:29:23 +01:00
OVF.pm Initial support for importing OVF virtual machines 2017-09-25 13:31:55 +02:00
PCI.pm PCIe passthrough: fixup: avoid addr conflict and cleanup a bit 2019-09-06 19:27:30 +02:00
USB.pm usb: Add USB3 capabilities to Spice USB devices 2019-09-21 13:22:17 +02:00