KVM: Add CONFIG_HAVE_KVM_IRQCHIP
authorAvi Kivity <avi@redhat.com>
Sun, 4 Jan 2009 16:04:18 +0000 (18:04 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:02 +0000 (11:03 +0200)
Two KVM archs support irqchips and two don't.  Add a Kconfig item to
make selecting between the two models easier.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/Kconfig
arch/powerpc/kvm/Kconfig
arch/s390/kvm/Kconfig
arch/x86/kvm/Kconfig

index f833a0b..0a2d6b8 100644 (file)
@@ -4,6 +4,10 @@
 config HAVE_KVM
        bool
 
+config HAVE_KVM_IRQCHIP
+       bool
+       default y
+
 menuconfig VIRTUALIZATION
        bool "Virtualization"
        depends on HAVE_KVM || IA64
index 1465705..5a152a5 100644 (file)
@@ -2,6 +2,9 @@
 # KVM configuration
 #
 
+config HAVE_KVM_IRQCHIP
+       bool
+
 menuconfig VIRTUALIZATION
        bool "Virtualization"
        ---help---
index e051cad..3e260b7 100644 (file)
@@ -4,6 +4,9 @@
 config HAVE_KVM
        bool
 
+config HAVE_KVM_IRQCHIP
+       bool
+
 menuconfig VIRTUALIZATION
        bool "Virtualization"
        default y
index b81125f..0a303c3 100644 (file)
@@ -4,6 +4,10 @@
 config HAVE_KVM
        bool
 
+config HAVE_KVM_IRQCHIP
+       bool
+       default y
+
 menuconfig VIRTUALIZATION
        bool "Virtualization"
        depends on HAVE_KVM || X86