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(a)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