Message ID | 20181206073437.1995-2-Tianyu.Lan@microsoft.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [V2,1/2] KVM/VMX: Check ept_pointer before flushing ept tlb | expand |
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 6577ec8cbb0f..2356118ea440 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -1596,7 +1596,7 @@ static int vmx_hv_remote_flush_tlb(struct kvm *kvm) } } else { ret = hyperv_flush_guest_mapping( - to_vmx(kvm_get_vcpu(kvm, 0))->ept_pointer & PAGE_MASK); + to_vmx(kvm_get_vcpu(kvm, 0))->ept_pointer & PAGE_MASK); } spin_unlock(&to_kvm_vmx(kvm)->ept_pointer_lock);