]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
cpu config: Unify the default value for 'kvm'
authorFilip Schauer <f.schauer@proxmox.com>
Wed, 21 Feb 2024 14:33:16 +0000 (15:33 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 8 Mar 2024 13:24:37 +0000 (14:24 +0100)
commitd1a7abd07ca64b4caf0cbd3ca0cff6d8037d69fb
tree4aef108b9b80ffb063f4ac8bfcf0c3d4b1fc8755
parentbb423349819ce663e8ef803fd7c2ef2a67bf9f5e
cpu config: Unify the default value for 'kvm'

Make the default value for 'kvm' consistent, taking into account
whether the VM will run on the same CPU architecture as the host.

This would be a breaking change to CPU hotplug for VMs with a
different CPU architecture running on an x86_64 host, as in this case
the default CPU type for CPU hotplug changes from 'kvm64' to 'qemu64'.
However, CPU hotplug of non x86_64 architectures is not supported
anyway, so this is not a breaking change after all.

It should be noted that this change does alter the CPU hotplug
behaviour when emulating an x86_64 CPU on a non-x86_64 host. This is
however not officially supported in Proxmox VE.

Signed-off-by: Filip Schauer <f.schauer@proxmox.com>
PVE/QemuServer.pm
PVE/QemuServer/CPUConfig.pm