qemu-kvm: Mark VCPU state dirty on creation
commitf4de8c1451f2265148ff4d895a27e21c0a8788aa
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 21 Feb 2011 11:28:07 +0000 (21 12:28 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 28 Feb 2011 13:15:41 +0000 (28 15:15 +0200)
tree24d9347b356c71f21df026d71db0aab16bc094a9
parentd4ce9c7455103e8d66165fe94a1caef4d7ec7c6b
qemu-kvm: Mark VCPU state dirty on creation

This avoids that early cpu_synchronize_state calls try to retrieve an
uninitialized state from the kernel, which even causes a deadlock.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
qemu-kvm.c