]> git.proxmox.com Git - qemu-server.git/commit
suspend: continue cleanup even if savevm-end QMP command fails
authorFiona Ebner <f.ebner@proxmox.com>
Tue, 14 May 2024 14:11:13 +0000 (16:11 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 15 May 2024 17:37:22 +0000 (19:37 +0200)
commitc799e40fbf7724a2d4558deb25f35e829d51d5ce
tree55252a7e8e22a37d747c0c6321c7c96bab258556
parent88e18f9c5d468d844b349355e201cc8fa7b07871
suspend: continue cleanup even if savevm-end QMP command fails

The savevm-end command also fails when no snapshot operation was
started before. In particular, this is the case when savevm-start
failed early, because of unmigratable devices.

Avoid potentially leaving an orphaned volume and snasphot-related
configuration keys around by continuing with cleanup instead.

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
PVE/QemuServer.pm