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:
Peter Krempa 2016-02-05 16:57:58 +01:00
parent a9839fe044
commit 986831a8d4

View File

@ -14692,7 +14692,6 @@ qemuDomainSnapshotCreateActiveExternal(virConnectPtr conn,
}
ret = -1;
goto cleanup;
}
if (thaw != 0 &&