diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-08 06:57:07 -0500 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-02-11 12:53:02 -0500 |
| commit | 30811174f0dbe17fd58eba5c22c50292c083c75b (patch) | |
| tree | ff62ee11800fa418a9966263cfead5c793c7db42 /arch/x86/kvm/svm/avic.c | |
| parent | 0a5f784273aad41a22963fc8b818ead3c892c97a (diff) | |
| download | cachepc-linux-30811174f0dbe17fd58eba5c22c50292c083c75b.tar.gz cachepc-linux-30811174f0dbe17fd58eba5c22c50292c083c75b.zip | |
KVM: SVM: set IRR in svm_deliver_interrupt
SVM has to set IRR for both the AVIC and the software-LAPIC case,
so pull it up to the common function that handles both configurations.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm/avic.c')
| -rw-r--r-- | arch/x86/kvm/svm/avic.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/svm/avic.c b/arch/x86/kvm/svm/avic.c index 242cb220893a..2b2932f04411 100644 --- a/arch/x86/kvm/svm/avic.c +++ b/arch/x86/kvm/svm/avic.c @@ -668,8 +668,6 @@ int svm_deliver_avic_intr(struct kvm_vcpu *vcpu, int vec) if (!vcpu->arch.apicv_active) return -1; - kvm_lapic_set_irr(vec, vcpu->arch.apic); - /* * Pairs with the smp_mb_*() after setting vcpu->guest_mode in * vcpu_enter_guest() to ensure the write to the vIRR is ordered before |
