qemu-server/PVE
Stefan Reiter 8e0c97bbbf fix vm_resume and allow vm_start with QMP status 'shutdown'
When the VM is in status 'shutdown', i.e. after the guest issues a
powerdown while a backup is running, QEMU requires a 'system_reset' to
be issued before 'cont' can boot the guest again.

Additionally, when the VM has been powered down during a backup, the
logically correct call would be a 'vm_start', so automatically vm_resume
from vm_start in case this situation occurs. This also means the GUI can
cope with this almost unchanged.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2020-11-05 11:22:47 +01:00
..
API2 api: factor out common vm_is_paused code in private helper 2020-10-16 17:51:24 +02:00
CLI tree wide cleanups 2020-10-16 18:03:32 +02:00
QemuServer cloudinit: use normal grep 2020-10-19 15:32:03 +02:00
VZDump vzdump: use dirty bitmap for not running VMs too 2020-11-05 11:22:47 +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 fix various conditionally declared vars 2020-10-16 16:52:11 +02:00
QemuServer.pm fix vm_resume and allow vm_start with QMP status 'shutdown' 2020-11-05 11:22:47 +01:00
QMPClient.pm tree wide cleanups 2020-10-16 18:03:32 +02:00