]> git.proxmox.com Git - qemu-server.git/commit
cpu hotplug: cannot change feature online
authorAlexandre Derumier <aderumier@odiso.com>
Tue, 10 Oct 2023 15:37:17 +0000 (17:37 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 24 Oct 2023 09:46:52 +0000 (11:46 +0200)
commitd797bb62c3f77d5795d5eefec3b01ffb39af09ec
tree8589266465fe90b36a6e97bdf7979e290157ffac
parentb7bbeff3f9b49fa2f1678e83f34659145be77e3d
cpu hotplug: cannot change feature online

The vCPUs are passed as devices with specific id only when CPU
hot-plug is enable at cold start.

So, we can't enable/disable allow-hotplug online as then vCPU hotplug
API will thrown errors not finding core id.

Not enforcing this could also lead to migration failure, as the QEMU
command line for the target VM could be made different than the one it
was actually running with, causing a crash of the target as Fiona
observed [0].

[0]: https://lists.proxmox.com/pipermail/pve-devel/2023-October/059434.html

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
 [ TL: Reflowed & expanded commit message ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/QemuServer.pm