[libvirt PATCH 01/14] qemu_snapshot: revert: fix incorrect jump to cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux