diff options
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index b81970b053b9..0890df9e88ff 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -3171,10 +3171,8 @@ static int vcpu_enter_guest(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | |||
3171 | 3171 | ||
3172 | if (vcpu->arch.exception.pending) | 3172 | if (vcpu->arch.exception.pending) |
3173 | __queue_exception(vcpu); | 3173 | __queue_exception(vcpu); |
3174 | else if (irqchip_in_kernel(vcpu->kvm)) | ||
3175 | kvm_x86_ops->inject_pending_irq(vcpu, kvm_run); | ||
3176 | else | 3174 | else |
3177 | kvm_x86_ops->inject_pending_vectors(vcpu, kvm_run); | 3175 | kvm_x86_ops->inject_pending_irq(vcpu, kvm_run); |
3178 | 3176 | ||
3179 | kvm_lapic_sync_to_vapic(vcpu); | 3177 | kvm_lapic_sync_to_vapic(vcpu); |
3180 | 3178 | ||