From: Peter Krempa Date: Fri, 5 Feb 2016 15:57:58 +0000 (+0100) Subject: qemu: snapshot: Avoid infinite loop if vCPUs can't be resumed X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=986831a8d4f16921c5c81323a2ced70174da1a4e;p=libvirt.git 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. --- diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index a10671f9e6..6fc11c6a08 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -14692,7 +14692,6 @@ qemuDomainSnapshotCreateActiveExternal(virConnectPtr conn, } ret = -1; - goto cleanup; } if (thaw != 0 &&