]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: add X86_LOCAL_APIC dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 4 Oct 2017 10:28:18 +0000 (12:28 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Thu, 5 Oct 2017 17:55:48 +0000 (19:55 +0200)
commit345a801407d3fd7062a35ebda652c6f3fa937fbd
treee2ccc1c39b23b1cef28ad19e5c77492b281aa51a
parent7738099a5dbfd46d59dc6dda52e8fc85fe49ff0a
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: 269787a923a2 ("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>
arch/x86/kvm/Kconfig