qemu-server/PVE
Dominik Csapak b08c37c363 fix #2788: do not resume vms after backup if they were paused before
by checking if the vm is paused at the beginning and skipping the
resume now we also skip the qga freeze/thaw (which cannot work if the
vm is paused)

moved the 'vm_is_paused' sub from the api to PVE/QemuServer.pm so it
is available everywhere we need it.

since a suspend backup would pause the vm anyway, we can skip that
step also

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Fabian Ebner <f.ebner@proxmox.com>
2021-01-26 18:41:11 +01:00
..
API2 fix #2788: do not resume vms after backup if they were paused before 2021-01-26 18:41:11 +01:00
CLI qm: import ovf: removed all imported disks on error 2021-01-25 14:58:57 +01:00
QemuServer add PVE::QemuServer::Cgroup 2020-11-24 12:00:33 +01:00
VZDump fix #2788: do not resume vms after backup if they were paused before 2021-01-26 18:41:11 +01:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm tree wide cleanup of s/return undef/return/ 2020-10-16 16:20:05 +02:00
QemuMigrate.pm migration: sort volumes migrated with storage_migrate 2020-12-15 15:21:37 +01:00
QemuServer.pm fix #2788: do not resume vms after backup if they were paused before 2021-01-26 18:41:11 +01:00
QMPClient.pm tree wide cleanups 2020-10-16 18:03:32 +02:00