aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index ae6250b19726..b81970b053b9 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -3237,8 +3237,6 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
3237 profile_hit(KVM_PROFILING, (void *)rip); 3237 profile_hit(KVM_PROFILING, (void *)rip);
3238 } 3238 }
3239 3239
3240 if (vcpu->arch.exception.pending && kvm_x86_ops->exception_injected(vcpu))
3241 vcpu->arch.exception.pending = false;
3242 3240
3243 kvm_lapic_sync_from_vapic(vcpu); 3241 kvm_lapic_sync_from_vapic(vcpu);
3244 3242