[libvirt PATCH 01/14] qemu_snapshot: revert: fix incorrect jump to cleanup
Pavel Hrdina
phrdina at redhat.com
Thu Dec 2 13:33:08 UTC 2021
Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
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,
--
2.31.1
More information about the libvir-list
mailing list