mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
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 <lhuang@redhat.com>
This commit is contained in:
@@ -6365,7 +6365,7 @@ qemuDomainChgIOThread(virQEMUDriverPtr driver,
|
||||
_("cannot find IOThread '%u' in persistent "
|
||||
"iothreadids"),
|
||||
iothread_id);
|
||||
goto cleanup;
|
||||
goto endjob;
|
||||
}
|
||||
|
||||
virDomainIOThreadIDDel(persistentDef, iothread_id);
|
||||
|
||||
Reference in New Issue
Block a user