Skip to content

Commit e42eef4

Browse files
arndbrkrcmar
authored andcommitted
KVM: add X86_LOCAL_APIC dependency
The rework of the posted interrupt handling broke building without support for the local APIC: ERROR: "boot_cpu_physical_apicid" [arch/x86/kvm/kvm-intel.ko] undefined! That configuration is probably not particularly useful anyway, so we can avoid the randconfig failures by adding a Kconfig dependency. Fixes: 8b306e2 ("KVM: VMX: avoid double list add with VT-d posted interrupts") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
1 parent f26e601 commit e42eef4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/kvm/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ config KVM
2323
depends on HIGH_RES_TIMERS
2424
# for TASKSTATS/TASK_DELAY_ACCT:
2525
depends on NET && MULTIUSER
26+
depends on X86_LOCAL_APIC
2627
select PREEMPT_NOTIFIERS
2728
select MMU_NOTIFIER
2829
select ANON_INODES

0 commit comments

Comments
 (0)