mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-30 09:53:10 +00:00
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 &&
|
if (cookie &&
|
||||||
qemuDomainFixupCPUs(vm, &cookie->cpu) < 0)
|
qemuDomainFixupCPUs(vm, &cookie->cpu) < 0)
|
||||||
goto cleanup;
|
goto endjob;
|
||||||
|
|
||||||
rc = qemuProcessStart(snapshot->domain->conn, driver, vm,
|
rc = qemuProcessStart(snapshot->domain->conn, driver, vm,
|
||||||
cookie ? cookie->cpu : NULL,
|
cookie ? cookie->cpu : NULL,
|
||||||
|
Loading…
Reference in New Issue
Block a user