aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 199426cc1d0e..beb806b03a2e 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -3579,7 +3579,7 @@ int kvm_arch_vcpu_ioctl_get_sregs(struct kvm_vcpu *vcpu,
3579 3579
3580 memset(sregs->interrupt_bitmap, 0, sizeof sregs->interrupt_bitmap); 3580 memset(sregs->interrupt_bitmap, 0, sizeof sregs->interrupt_bitmap);
3581 3581
3582 if (vcpu->arch.interrupt.pending) 3582 if (vcpu->arch.interrupt.pending && !vcpu->arch.interrupt.soft)
3583 set_bit(vcpu->arch.interrupt.nr, 3583 set_bit(vcpu->arch.interrupt.nr,
3584 (unsigned long *)sregs->interrupt_bitmap); 3584 (unsigned long *)sregs->interrupt_bitmap);
3585 3585