Skip to content
  • Arnd Bergmann's avatar
    KVM: add X86_LOCAL_APIC dependency · e42eef4b
    Arnd Bergmann authored
    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: 8b306e2f
    
     ("KVM: VMX: avoid double list add with VT-d posted interrupts")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarRadim Krčmář <rkrcmar@redhat.com>
    e42eef4b