KVM: PPC: Ultravisor: Check for MSR_S during hv_reset_msr
Subsystems (2)
PATCH 11/13 KVM: PPC: Ultravisor: Check for MSR_S during hv_reset_msr
From: Michael Anderson <[email protected]>
- Check for MSR_S so that kvmppc_set_msr will include. Prior to this change return to guest would not have the S bit set.
- Patch based on comment from Paul Mackerras <[email protected]>
Signed-off-by Michael Anderson <[email protected]>
--- arch/powerpc/kvm/book3s_64_mmu_hv.c | 1 + 1 file changed, 1 insertion(+)
arch/powerpc/kvm/book3s_64_mmu_hv.c +1 -0
@@ -295,6 +295,7 @@ static void kvmppc_mmu_book3s_64_hv_reset_msr(struct kvm_vcpu *vcpu) msr |=MSR_TS_S ; else msr |= vcpu->arch.shregs.msr & MSR_TS_MASK; + msr |= vcpu->arch.shregs.msr &MSR_S ;kvmppc_set_msr (vcpu, msr); }
Signature · 1 line
1.8.3.1