mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
qemu: snapshot: Avoid infinite loop if vCPUs can't be resumed
In b3d2a42e
I've refactored the code and moved the 'cleanup' label.
Unfortunately the code that was originally in the 'endjob' label and
wanted to jump to cleanup is now in the cleanup label. Remove the jump
and let the function finish.
This commit is contained in:
parent
a9839fe044
commit
986831a8d4
@ -14692,7 +14692,6 @@ qemuDomainSnapshotCreateActiveExternal(virConnectPtr conn,
|
||||
}
|
||||
|
||||
ret = -1;
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
if (thaw != 0 &&
|
||||
|
Loading…
Reference in New Issue
Block a user