]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
KVM: x86: unhalt vcpu0 on reset
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 10 Sep 2008 19:40:55 +0000 (16:40 -0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:26 +0000 (10:15 +0200)
commit9c3e4aab5ae27bf8589d61c7874e213832b4b7d2
tree38e3fcc1cbf7c2fdecfc5e95cd63f6c3b6b14702
parentd19292e457a7c1b7f6c12bccbfdfd53630de1cee
KVM: x86: unhalt vcpu0 on reset

Since "KVM: x86: do not execute halted vcpus", HLT by vcpu0 before system
reset by the IO thread will hang the guest.

Mark vcpu as runnable in such case.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86.c