|
Alexander Graf |
b0c57c |
From: Arnd Bergmann <arnd@arndb.de>
|
|
Alexander Graf |
b0c57c |
Date: Wed, 4 Oct 2017 12:28:18 +0200
|
|
Alexander Graf |
b0c57c |
Subject: KVM: add X86_LOCAL_APIC dependency
|
|
Alexander Graf |
b0c57c |
MIME-Version: 1.0
|
|
Alexander Graf |
b0c57c |
Content-Type: text/plain; charset=UTF-8
|
|
Alexander Graf |
b0c57c |
Content-Transfer-Encoding: 8bit
|
|
Alexander Graf |
b0c57c |
Patch-mainline: v4.14-rc4
|
|
Alexander Graf |
b0c57c |
Git-commit: e42eef4ba38806b18c4a74f0c276fb2e0b548173
|
|
Alexander Graf |
b0c57c |
References: bsc#1077761
|
|
Alexander Graf |
b0c57c |
|
|
Alexander Graf |
b0c57c |
The rework of the posted interrupt handling broke building without
|
|
Alexander Graf |
b0c57c |
support for the local APIC:
|
|
Alexander Graf |
b0c57c |
|
|
Alexander Graf |
b0c57c |
ERROR: "boot_cpu_physical_apicid" [arch/x86/kvm/kvm-intel.ko] undefined!
|
|
Alexander Graf |
b0c57c |
|
|
Alexander Graf |
b0c57c |
That configuration is probably not particularly useful anyway, so
|
|
Alexander Graf |
b0c57c |
we can avoid the randconfig failures by adding a Kconfig dependency.
|
|
Alexander Graf |
b0c57c |
|
|
Alexander Graf |
b0c57c |
Fixes: 8b306e2f3c41 ("KVM: VMX: avoid double list add with VT-d posted interrupts")
|
|
Alexander Graf |
b0c57c |
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
|
|
Alexander Graf |
b0c57c |
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
|
|
Alexander Graf |
b0c57c |
Acked-by: Alexander Graf <agraf@suse.de>
|
|
Alexander Graf |
b0c57c |
---
|
|
Alexander Graf |
b0c57c |
arch/x86/kvm/Kconfig | 1 +
|
|
Alexander Graf |
b0c57c |
1 file changed, 1 insertion(+)
|
|
Alexander Graf |
b0c57c |
|
|
Alexander Graf |
b0c57c |
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
|
|
Alexander Graf |
b0c57c |
index 3ea624452f93..3c48bc8bf08c 100644
|
|
Alexander Graf |
b0c57c |
--- a/arch/x86/kvm/Kconfig
|
|
Alexander Graf |
b0c57c |
+++ b/arch/x86/kvm/Kconfig
|
|
Alexander Graf |
b0c57c |
@@ -23,6 +23,7 @@ config KVM
|
|
Alexander Graf |
b0c57c |
depends on HIGH_RES_TIMERS
|
|
Alexander Graf |
b0c57c |
# for TASKSTATS/TASK_DELAY_ACCT:
|
|
Alexander Graf |
b0c57c |
depends on NET && MULTIUSER
|
|
Alexander Graf |
b0c57c |
+ depends on X86_LOCAL_APIC
|
|
Alexander Graf |
b0c57c |
select PREEMPT_NOTIFIERS
|
|
Alexander Graf |
b0c57c |
select MMU_NOTIFIER
|
|
Alexander Graf |
b0c57c |
select ANON_INODES
|
|
Alexander Graf |
b0c57c |
--
|
|
Alexander Graf |
b0c57c |
2.12.3
|
|
Alexander Graf |
b0c57c |
|