diff options
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r-- | arch/x86/kvm/vmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index f3ab27b5a6b2..8981654ad061 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
@@ -2615,7 +2615,7 @@ static int handle_exception(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | |||
2615 | cr2 = vmcs_readl(EXIT_QUALIFICATION); | 2615 | cr2 = vmcs_readl(EXIT_QUALIFICATION); |
2616 | KVMTRACE_3D(PAGE_FAULT, vcpu, error_code, (u32)cr2, | 2616 | KVMTRACE_3D(PAGE_FAULT, vcpu, error_code, (u32)cr2, |
2617 | (u32)((u64)cr2 >> 32), handler); | 2617 | (u32)((u64)cr2 >> 32), handler); |
2618 | if (vcpu->arch.interrupt.pending || vcpu->arch.exception.pending) | 2618 | if (kvm_event_needs_reinjection(vcpu)) |
2619 | kvm_mmu_unprotect_page_virt(vcpu, cr2); | 2619 | kvm_mmu_unprotect_page_virt(vcpu, cr2); |
2620 | return kvm_mmu_page_fault(vcpu, cr2, error_code); | 2620 | return kvm_mmu_page_fault(vcpu, cr2, error_code); |
2621 | } | 2621 | } |