OSDN Git Service

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)
commitd39850f57d2102c6b46feb21237bc23bc42de4f7
treebbbca932fc8f53892ad57cc56c7336472233156d
parentec1d7e6ab9ff15d9ff7b3628a4320907544675e1
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