[pve-devel] [PATCH v2 qemu-server 0/2] Fix ACPI-suspended VMs resuming after migration

Filip Schauer f.schauer at proxmox.com
Fri Aug 25 14:18:49 CEST 2023


Shutdown and reboot commands do infact time out instead of failing
immediately on suspended VMs. This is fixed by extending vm_is_paused
with the "suspended" runstate. It also make sense to check for the
"prelaunch" runstate, as the VM is not running in that state. To
accommodate the changes, the function is renamed to vm_is_frozen.

Filip Schauer (2):
  Add missing checks for paused runstates
  Rename vm_is_paused to vm_is_frozen

 PVE/API2/Qemu.pm         |  8 ++++----
 PVE/QemuMigrate.pm       |  8 ++++----
 PVE/QemuServer.pm        |  8 ++++++--
 PVE/VZDump/QemuServer.pm | 14 +++++++-------
 4 files changed, 21 insertions(+), 17 deletions(-)

-- 
2.39.2






More information about the pve-devel mailing list