]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Drop @vcpu parameter from kvm_x86_ops.hwapic_isr_update()
authorSean Christopherson <seanjc@google.com>
Tue, 14 Jun 2022 23:05:45 +0000 (23:05 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 20 Jun 2022 10:21:23 +0000 (06:21 -0400)
commit8273d12444c8afcd113cacb070e2099b6be5e8de
treebbbca932fc8f53892ad57cc56c7336472233156d
parent504e143b531f1dde7a5edc8e93e622f64f356973
KVM: x86: Drop @vcpu parameter from kvm_x86_ops.hwapic_isr_update()

Drop the unused @vcpu parameter from hwapic_isr_update().  AMD/AVIC is
unlikely to implement the helper, and VMX/APICv doesn't need the vCPU as
it operates on the current VMCS.  The result is somewhat odd, but allows
for a decent amount of (future) cleanup in the APIC code.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20220614230548.3852141-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/lapic.c
arch/x86/kvm/vmx/vmx.c