qemu-server/PVE/QemuServer
Dominik Csapak 3f589e8c7e machine: correctly select pve machine version for non pinned windows guests
When we don't have a specific machine version on a windows guest, we
use the creation meta info to pin the machine version. Currently we
always append the pve machine version from the current installed KVM
version, which is not necessarily the version we pinned the guest to.

Instead, use the same mechanism as for normal version pinned machines,
which use 'pve0'.

For non-windows machines, we use the current QEMU machine version so
we should use the pve machine version from that too, so that stays the
same.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Fiona Ebner <f.ebner@proxmox.com>
Reviewed-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Tested-By: Stoiko Ivanov <s.ivanov@proxmox.com>
Link: https://lore.proxmox.com/20250404125345.3244659-4-d.csapak@proxmox.com
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2025-04-06 19:08:31 +02:00
..
Agent.pm tree wide cleanup of s/return undef/return/ 2020-10-16 16:20:05 +02:00
CGroup.pm fix #5528: override cgroup methods to call systemd via dbus 2024-07-23 08:05:53 +02:00
Cloudinit.pm cloud-init: commit disk: use volume format from storage layer 2024-12-09 09:07:17 +01:00
CPUConfig.pm cpu config: sev type: small code style fix 2025-04-03 20:55:12 +02:00
Drive.pm drive: remove ancient 'cow' from formats 2025-04-03 18:41:17 +02:00
Helpers.pm move get_vm_arch() helper to helpers module 2025-01-17 19:24:02 +01:00
ImportDisk.pm import: add source size parameter to do_import() 2024-12-09 09:07:17 +01:00
Machine.pm machine: correctly select pve machine version for non pinned windows guests 2025-04-06 19:08:31 +02:00
Makefile refactor: move rng related code into its own module 2025-04-04 10:25:33 +02:00
Memory.pm tree-wide: fix various typos in comments 2024-12-05 12:33:24 +01:00
MetaInfo.pm move meta information handling to its own module 2025-01-17 19:24:02 +01:00
Monitor.pm monitor: allow passing timeout for a HMP command 2024-06-11 13:56:44 +02:00
PCI.pm pci passthrough: enable live-migration for capable mapped-devices 2025-04-03 16:38:36 +02:00
QMPHelpers.pm qmp helpers: device add/del: use HMP interface 2025-02-04 17:07:19 +01:00
RNG.pm add helpers for VirtIO RNG command line arguments 2025-04-04 10:25:33 +02:00
USB.pm fix typos in user-visible strings 2024-10-24 13:15:06 +02:00