]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: PPC: Consistentify vcpu exit path
authorAlexander Graf <agraf@suse.de>
Sun, 12 Aug 2012 10:42:30 +0000 (12:42 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 14 Aug 2012 22:29:12 +0000 (00:29 +0200)
commit3f94df6a255f4d327630204ae183365bf6dbe08b
tree7dbfd1242c4d119f0b20dd07ed5e1b3484e8986f
parent1ada06fc78744d75006667529a228913e26e2f59
KVM: PPC: Consistentify vcpu exit path

When getting out of __vcpu_run, let's be consistent about the state we
return in. We want to always

  * have IRQs enabled
  * have called kvm_guest_exit before

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_pr.c
arch/powerpc/kvm/booke.c