summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm
diff options
context:
space:
mode:
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>2020-05-06 15:17:56 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-05-15 18:26:23 +0200
commitde182481629c2dc248adbb4ec5df83cd9d633dd4 (patch)
tree720d0ec76f4cc469edd222e6d5cf67d5ce1f25b7 /arch/x86/kvm/svm
parentKVM: SVM: Merge svm_enable_vintr into svm_set_vintr (diff)
downloadlinux-de182481629c2dc248adbb4ec5df83cd9d633dd4.tar.xz
linux-de182481629c2dc248adbb4ec5df83cd9d633dd4.zip
KVM: SVM: Remove unnecessary V_IRQ unsetting
This has already been handled in the prior call to svm_clear_vintr(). Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> Message-Id: <1588771076-73790-5-git-send-email-suravee.suthikulpanit@amd.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm')
-rw-r--r--arch/x86/kvm/svm/svm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/svm/svm.c b/arch/x86/kvm/svm/svm.c
index 801886142cc4..4e9cd2a73ad0 100644
--- a/arch/x86/kvm/svm/svm.c
+++ b/arch/x86/kvm/svm/svm.c
@@ -2660,8 +2660,6 @@ static int interrupt_window_interception(struct vcpu_svm *svm)
*/
svm_toggle_avic_for_irq_window(&svm->vcpu, true);
- svm->vmcb->control.int_ctl &= ~V_IRQ_MASK;
- mark_dirty(svm->vmcb, VMCB_INTR);
++svm->vcpu.stat.irq_window_exits;
return 1;
}