]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: fix a dead-lock problem
authorHu Tao <hutao@cn.fujitsu.com>
Tue, 12 Apr 2011 10:29:27 +0000 (18:29 +0800)
committerWen Congyang <wency@cn.fujitsu.com>
Wed, 13 Apr 2011 01:43:16 +0000 (09:43 +0800)
commit30c551ab4e64f02f2cfb148fcac8658b018d31cb
treeab312933077346ab526fc5b161147069ffd4ecd6
parent5c53160a2f7c64ce94a3bc1e964ab71ffb2e2c23
qemu: fix a dead-lock problem

In qemuDomainObjBeginJobWithDriver, when virCondWaitUntil timeouts,
the function tries to call qemuDriverLock with virDomainObj locked,
this causes the dead-lock problem. This patch fixes this.
src/qemu/qemu_domain.c