diff options
author | Alexander Graf <agraf@suse.de> | 2013-04-17 07:29:30 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-04-26 14:27:14 -0400 |
commit | a725d56a02ec3582bb5b9756f261fdc6962c79ee (patch) | |
tree | 12951caba7ac5239b18b3aeaba875d4d29833a85 /arch/x86/kvm/Kconfig | |
parent | 8175e5b79c38a1d85225da516fa1a0ecbf2fdbca (diff) |
KVM: Introduce CONFIG_HAVE_KVM_IRQ_ROUTING
Quite a bit of code in KVM has been conditionalized on availability of
IOAPIC emulation. However, most of it is generically applicable to
platforms that don't have an IOPIC, but a different type of irq chip.
Make code that only relies on IRQ routing, not an APIC itself, on
CONFIG_HAVE_KVM_IRQ_ROUTING, so that we can reuse it later.
Signed-off-by: Alexander Graf <agraf@suse.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'arch/x86/kvm/Kconfig')
-rw-r--r-- | arch/x86/kvm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig index 586f00059805..9d50efdb719d 100644 --- a/arch/x86/kvm/Kconfig +++ b/arch/x86/kvm/Kconfig | |||
@@ -29,6 +29,7 @@ config KVM | |||
29 | select MMU_NOTIFIER | 29 | select MMU_NOTIFIER |
30 | select ANON_INODES | 30 | select ANON_INODES |
31 | select HAVE_KVM_IRQCHIP | 31 | select HAVE_KVM_IRQCHIP |
32 | select HAVE_KVM_IRQ_ROUTING | ||
32 | select HAVE_KVM_EVENTFD | 33 | select HAVE_KVM_EVENTFD |
33 | select KVM_APIC_ARCHITECTURE | 34 | select KVM_APIC_ARCHITECTURE |
34 | select KVM_ASYNC_PF | 35 | select KVM_ASYNC_PF |