]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
qemu: fix the vm deadlock when deleting a nonexistent iothread
authorLuyao Huang <lhuang@redhat.com>
Mon, 4 May 2015 09:36:16 +0000 (17:36 +0800)
committerJán Tomko <jtomko@redhat.com>
Mon, 4 May 2015 10:18:55 +0000 (12:18 +0200)
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

index f8d493d47f99f3f236724401a142f796e6f70c95..a76858a15ca139ebfe862f3b29282b1096fb3c2d 100644 (file)
@@ -6365,7 +6365,7 @@ qemuDomainChgIOThread(virQEMUDriverPtr driver,
                                _("cannot find IOThread '%u' in persistent "
                                  "iothreadids"),
                                iothread_id);
-                goto cleanup;
+                goto endjob;
             }
 
             virDomainIOThreadIDDel(persistentDef, iothread_id);