From 04e91af13ec9911dd3055cb63696178c72032c8c Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Thu, 25 Nov 2021 16:36:13 +0100 Subject: [PATCH] qemu_snapshot: revert: fix incorrect jump to cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: 6a6f6b91e0e76480ea961f83135efcb4faf3284a Signed-off-by: Pavel Hrdina Reviewed-by: Ján Tomko --- src/qemu/qemu_snapshot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_snapshot.c b/src/qemu/qemu_snapshot.c index edf5511e42..64b5838db8 100644 --- a/src/qemu/qemu_snapshot.c +++ b/src/qemu/qemu_snapshot.c @@ -2087,7 +2087,7 @@ qemuSnapshotRevert(virDomainObj *vm, */ if (cookie && qemuDomainFixupCPUs(vm, &cookie->cpu) < 0) - goto cleanup; + goto endjob; rc = qemuProcessStart(snapshot->domain->conn, driver, vm, cookie ? cookie->cpu : NULL,