From 986831a8d4f16921c5c81323a2ced70174da1a4e Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Fri, 5 Feb 2016 16:57:58 +0100 Subject: [PATCH] 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. --- src/qemu/qemu_driver.c | 1 - 1 file changed, 1 deletion(-) 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 &&