diff options
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 25a1c5739dfc..f0642396783f 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -3361,9 +3361,6 @@ static void update_cr8_intercept(struct kvm_vcpu *vcpu) | |||
3361 | 3361 | ||
3362 | static void inject_pending_irq(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) | 3362 | static void inject_pending_irq(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) |
3363 | { | 3363 | { |
3364 | if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) | ||
3365 | kvm_x86_ops->set_interrupt_shadow(vcpu, 0); | ||
3366 | |||
3367 | /* try to reinject previous events if any */ | 3364 | /* try to reinject previous events if any */ |
3368 | if (vcpu->arch.nmi_injected) { | 3365 | if (vcpu->arch.nmi_injected) { |
3369 | kvm_x86_ops->set_nmi(vcpu); | 3366 | kvm_x86_ops->set_nmi(vcpu); |