do not issue ioctl from within the io thread
commit4e2f73ce3d70083dacb99815c9633af48aae32b4
authorGlauber Costa <glommer@redhat.com>
Tue, 25 Aug 2009 22:13:36 +0000 (25 18:13 -0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 4 Sep 2009 14:37:27 +0000 (4 09:37 -0500)
tree3c12b36ab4212f3c160c2f0270bae6491c57e1c9
parent67b3b71d51844b9413278add178a49723a97aad9
do not issue ioctl from within the io thread

According to Documentation/kvm/api.txt, (and well, to common sense),
we should not be calling vcpu ioctls from within the iothread.
Since vcpu initialization issues a vcpu ioctl, move it a little bit
further in time to prevent it.

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c