mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
qemu_snapshot: revert: fix incorrect jump to cleanup
Fixes: 6a6f6b91e0e76480ea961f83135efcb4faf3284a 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…
x
Reference in New Issue
Block a user