unlock iothread mutex before running kvm ioctl
commitd549db5a732ef2ec145b84c5008a7585cf17cf67
authorGlauber Costa <glommer@redhat.com>
Wed, 7 Oct 2009 19:38:03 +0000 (7 16:38 -0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 12 Oct 2009 14:42:31 +0000 (12 09:42 -0500)
tree62fa1660dca3ce393c20c92be0469408d4e46204
parentce88f890bdbb4e38a047d9e5d096233163452651
unlock iothread mutex before running kvm ioctl

Without this, kvm will hold the mutex while it issues its run ioctl,
and never be able to step out of it, causing a deadlock.

Patchworks-ID: 35359
Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
kvm-all.c
qemu-common.h
vl.c