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>
This commit is contained in:
parent
e14b7786cb
commit
de18248162
@ -2660,8 +2660,6 @@ static int interrupt_window_interception(struct vcpu_svm *svm)
|
|||||||
*/
|
*/
|
||||||
svm_toggle_avic_for_irq_window(&svm->vcpu, true);
|
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;
|
++svm->vcpu.stat.irq_window_exits;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user