[libvirt] [PATCH] qemu: fix the vm deadlock when delete an unexist 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 <lhuang@redhat.com> --- src/qemu/qemu_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 3695b26..5e998c9 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -6379,7 +6379,7 @@ qemuDomainChgIOThread(virQEMUDriverPtr driver, _("cannot find IOThread '%u' in persistent " "iothreadids"), iothread_id); - goto cleanup; + goto endjob; } virDomainIOThreadIDDel(persistentDef, iothread_id); -- 1.8.3.1

s/delete an unexist/delete a nonexistent/ in the summary On Mon, May 04, 2015 at 05:36:16PM +0800, Luyao Huang wrote:
https://bugzilla.redhat.com/show_bug.cgi?id=1218145
Jump to endjob instead of cleanup to fix this deadlock.
Signed-off-by: Luyao Huang <lhuang@redhat.com> --- src/qemu/qemu_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ACK and pushed. Jan
participants (2)
-
Ján Tomko
-
Luyao Huang