]> 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>
Fri, 5 Oct 2012 21:33:34 +0000 (23:33 +0200)
commit9e84423f4bb429a812b1929c0121d8474051b253
treeb295955b1b74bcdd404f8bb29d5a21d6ae708419
parentf6ec334ffefe31bbd6b736f9686d6b917c19c052
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