From: Scott Wood <[email protected]> This was preventing the guest from setting any bits in the hardware MSR which aren't forced on, such as MSR[SPE].
Signed-off-by: Scott Wood <[email protected]> Signed-off-by: Alexander Graf <[email protected]> --- arch/powerpc/kvm/booke_interrupts.S | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/kvm/booke_interrupts.S b/arch/powerpc/kvm/booke_interrupts.S index 0498469..1cc471f 100644 --- a/arch/powerpc/kvm/booke_interrupts.S +++ b/arch/powerpc/kvm/booke_interrupts.S @@ -416,7 +416,7 @@ lightweight_exit: lwz r3, VCPU_PC(r4) mtsrr0 r3 lwz r3, VCPU_SHARED(r4) - lwz r3, VCPU_SHARED_MSR(r3) + lwz r3, (VCPU_SHARED_MSR + 4)(r3) oris r3, r3, kvmppc_msr_m...@h ori r3, r3, kvmppc_msr_m...@l mtsrr1 r3 -- 1.6.0.2 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
