Re: [PATCH 8/9] KVM: x86: Move "struct kvm_apic_map" definition from kvm_host.h => lapic.h

From: Huang, Kai

Date: Thu Jun 25 2026 - 20:50:20 EST


On Thu, 2026-06-25 at 15:04 -0700, Sean Christopherson wrote:
> Move the definition of "struct kvm_apic_map", a.k.a. the optimized local
> APIC map, to lapic.h, as it is very nearly an implementation details that's
> internal to KVM's local APIC emulation (KVM also uses the map to do quick
> lookups when a vCPU is yielding to a different vCPU).
>
> No functional change intended.
>
> Suggested-by: Kai Huang <kai.huang@xxxxxxxxx>
> Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
>

Reviewed-by: Kai Huang <kai.huang@xxxxxxxxx>