]> git.proxmox.com Git - qemu-server.git/commit
partially fix #3056: try to cancel backup without uuid
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 19 Oct 2020 14:11:38 +0000 (16:11 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 29 Oct 2020 17:19:06 +0000 (18:19 +0100)
commitedae17185b11ba8c9e88b10c29eacadbf87d6456
tree83417762c4add471a0fb68484ace308a66f1189c
parentacc10e51596bedb4fb2b582ea772512e20622e76
partially fix #3056: try to cancel backup without uuid

if the 'backup' qmp call itself times out or fails, we still want to
try to cancel the backup, else it can happen that there is still
a backup running even when vzdump thinks it was canceled

qapi docs says that backup cancel always returns success, even
if no backup is running

since we hold a global and a per vm lock for the backup, this should be
ok, since we should not reach this code without that lock

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/VZDump/QemuServer.pm