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:38:45 +0000 (23:38 +0200)
commit24afa37b9c8f035d2fe2028e4824bc4e49bafe73
treeb295955b1b74bcdd404f8bb29d5a21d6ae708419
parent0652eaaebea0995b3236e51dec727d62264f4248
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