KVM: PPC: Ignore unhalt request from kvm_vcpu_block
authorAlexander Graf <agraf@suse.de>
Wed, 14 Mar 2012 15:55:08 +0000 (16:55 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 8 Apr 2012 11:02:38 +0000 (14:02 +0300)
commit966cd0f3bdd422f0b10686fb59d0d456fbbb6398
treea28548a9ef496989cd8fdb2f3b21fd7d5241f996
parent4f225ae06e7f39a523ec500c3cf127e50797983e
KVM: PPC: Ignore unhalt request from kvm_vcpu_block

When running kvm_vcpu_block and it realizes that the CPU is actually good
to run, we get a request bit set for KVM_REQ_UNHALT. Right now, there's
nothing we can do with that bit, so let's unset it right after the call
again so we don't get confused in our later checks for pending work.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/book3s_pr.c
arch/powerpc/kvm/book3s_pr_papr.c
arch/powerpc/kvm/booke.c