KVM: PPC: booke: Fix int_pending calculation for MSR[EE] paravirt
authorScott Wood <scottwood@freescale.com>
Wed, 9 Nov 2011 00:23:27 +0000 (18:23 -0600)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:26 +0000 (14:52 +0200)
commit29ac26efbdc651303643025c83009ce5766c1676
tree463d9c10951b527c6459b2e0d66088e71841f807
parentc59a6a3e4e5976a938e21faf3da65a2784187aa7
KVM: PPC: booke: Fix int_pending calculation for MSR[EE] paravirt

int_pending was only being lowered if a bit in pending_exceptions
was cleared during exception delivery -- but for interrupts, we clear
it during IACK/TSR emulation.  This caused paravirt for enabling
MSR[EE] to be ineffective.

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