Message ID | 20190328175557.14408-9-sean.j.christopherson@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | KVM: x86: clear HF_SMM_MASK before loading state | expand |
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index d6dd701c471f..5c520bb2f649 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -7860,7 +7860,7 @@ static int leave_smm(struct kvm_vcpu *vcpu) } if ((vcpu->arch.hflags & HF_SMM_INSIDE_NMI_MASK) == 0) - ctxt->ops->set_nmi_mask(ctxt, false); + kvm_x86_ops->set_nmi_mask(vcpu, false); kvm_set_hflags(vcpu, vcpu->arch.hflags & ~(HF_SMM_INSIDE_NMI_MASK | HF_SMM_MASK));
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> --- arch/x86/kvm/x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)