]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: x86: Hide KVM_IRQCHIP_KERNEL behind CONFIG_KVM_IOAPIC=y
authorSean Christopherson <seanjc@google.com>
Sat, 6 Dec 2025 00:43:11 +0000 (16:43 -0800)
committerSean Christopherson <seanjc@google.com>
Mon, 12 Jan 2026 17:31:42 +0000 (09:31 -0800)
commitfd09d259c161086849774f9261cab16c58ba7dff
tree3253979da53023c04f50cf700a72b61ed6433661
parent59c3e0603d8614e0f5e17089182ca596cf3fc552
KVM: x86: Hide KVM_IRQCHIP_KERNEL behind CONFIG_KVM_IOAPIC=y

Enumerate KVM_IRQCHIP_KERNEL if and only if support for an in-kernel I/O
APIC is enabled, as all usage is likewise guarded by CONFIG_KVM_IOAPIC=y.

Link: https://patch.msgid.link/20251206004311.479939-10-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/kvm_host.h