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