Browse Source

KVM: Add CONFIG_HAVE_KVM_IRQCHIP

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>
Avi Kivity 16 years ago
parent
commit
5d9b8e30f5
4 changed files with 14 additions and 0 deletions
  1. 4 0
      arch/ia64/kvm/Kconfig
  2. 3 0
      arch/powerpc/kvm/Kconfig
  3. 3 0
      arch/s390/kvm/Kconfig
  4. 4 0
      arch/x86/kvm/Kconfig

+ 4 - 0
arch/ia64/kvm/Kconfig

@@ -4,6 +4,10 @@
 config HAVE_KVM
 	bool
 
+config HAVE_KVM_IRQCHIP
+       bool
+       default y
+
 menuconfig VIRTUALIZATION
 	bool "Virtualization"
 	depends on HAVE_KVM || IA64

+ 3 - 0
arch/powerpc/kvm/Kconfig

@@ -2,6 +2,9 @@
 # KVM configuration
 #
 
+config HAVE_KVM_IRQCHIP
+       bool
+
 menuconfig VIRTUALIZATION
 	bool "Virtualization"
 	---help---

+ 3 - 0
arch/s390/kvm/Kconfig

@@ -4,6 +4,9 @@
 config HAVE_KVM
        bool
 
+config HAVE_KVM_IRQCHIP
+       bool
+
 menuconfig VIRTUALIZATION
 	bool "Virtualization"
 	default y

+ 4 - 0
arch/x86/kvm/Kconfig

@@ -4,6 +4,10 @@
 config HAVE_KVM
        bool
 
+config HAVE_KVM_IRQCHIP
+       bool
+       default y
+
 menuconfig VIRTUALIZATION
 	bool "Virtualization"
 	depends on HAVE_KVM || X86