From: Luyao Huang Date: Mon, 4 May 2015 09:36:16 +0000 (+0800) Subject: qemu: fix the vm deadlock when deleting a nonexistent iothread X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3f7cad7a8fb5f646a924975517ff3f04c723540b;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git qemu: fix the vm deadlock when deleting a nonexistent iothread https://bugzilla.redhat.com/show_bug.cgi?id=1218145 Jump to endjob instead of cleanup to fix this deadlock. Signed-off-by: Luyao Huang --- diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index f8d493d47..a76858a15 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -6365,7 +6365,7 @@ qemuDomainChgIOThread(virQEMUDriverPtr driver, _("cannot find IOThread '%u' in persistent " "iothreadids"), iothread_id); - goto cleanup; + goto endjob; } virDomainIOThreadIDDel(persistentDef, iothread_id);