summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/Kconfig
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-01-04 18:04:18 +0200
committerAvi Kivity <avi@redhat.com>2009-03-24 11:03:02 +0200
commit5d9b8e30f543a9f21a968a4cda71e8f6d1c66a61 (patch)
tree22b44297196aa19f9b4c20c46d525405d3681aa1 /arch/x86/kvm/Kconfig
parent4677a3b693e035f186e2875259b9a0bb94c42fbe (diff)
downloadlwn-5d9b8e30f543a9f21a968a4cda71e8f6d1c66a61.tar.gz
lwn-5d9b8e30f543a9f21a968a4cda71e8f6d1c66a61.zip
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>
Diffstat (limited to 'arch/x86/kvm/Kconfig')
-rw-r--r--arch/x86/kvm/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/kvm/Kconfig b/arch/x86/kvm/Kconfig
index b81125f0bdee..0a303c3ed11f 100644
--- a/arch/x86/kvm/Kconfig
+++ b/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