Message ID | 6A3DF150A5B70D4F9B66A25E3F7C888D06591B44@039-SN2MPN1-023.039d.mgd.msft.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index b340a62..1e2d663 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c @@ -151,10 +151,14 @@ void kvmppc_set_msr(struct kvm_vcpu *vcpu, u32 new_msr) /* * Set MSR_DE if the hardware debug resources are owned by user-space - * and there is no debug interrupt pending for guest to handle. */ - if (vcpu->guest_debug && !kvmppc_core_pending_debug(vcpu)) + if (vcpu->guest_debug) new_msr |= MSR_DE; +#else + if (vcpu->guest_debug) + vcpu->arch.shadow_msr |= MSR_DE; #endif But do not when I should clear? >