]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix deadlock if create qemuProcessReconnect thread failed
authorWang Yechao <wang.yechao255@zte.com.cn>
Fri, 21 Sep 2018 04:35:11 +0000 (12:35 +0800)
committerJohn Ferlan <jferlan@redhat.com>
Sat, 22 Sep 2018 11:11:22 +0000 (07:11 -0400)
commitfad65432ced7f5b419c7f9aa92264b0c01b3421b
tree9fe8bf5fed74127dcb9e9e34e81c9abd6cae0614
parenta7b236345b9d2df8db33fcef0131b12448fb4f7c
qemu: Fix deadlock if create qemuProcessReconnect thread failed

Use the new qemuDomainRemoveInactiveJobLocked to remove the
@obj during the virDomainObjListForEach call which holds a
lock on the domain object list.

Signed-off-by: Wang Yechao <wang.yechao255@zte.com.cn>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_process.c