mirror of https://gitee.com/openkylin/libvirt.git
qemu_snapshot: revert: fix incorrect jump to cleanup
Fixes: 6a6f6b91e0
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
93c47e2c39
commit
04e91af13e
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue