]> 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>
Mon, 24 Sep 2012 12:50:32 +0000 (14:50 +0200)
commit7bfacced61346291a1d61fc1663c4e4bea8fb04b
tree1ef33083b4521dbe6856ff52cb13deb262e8e43a
parent3f9a7b8f4d0177239731a646fa65bed88f8ae9b4
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