Commit 5d9b8e30 authored by Avi Kivity's avatar Avi Kivity

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: default avatarAvi Kivity <avi@redhat.com>
parent 4677a3b6
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
config HAVE_KVM config HAVE_KVM
bool bool
config HAVE_KVM_IRQCHIP
bool
default y
menuconfig VIRTUALIZATION menuconfig VIRTUALIZATION
bool "Virtualization" bool "Virtualization"
depends on HAVE_KVM || IA64 depends on HAVE_KVM || IA64
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
# KVM configuration # KVM configuration
# #
config HAVE_KVM_IRQCHIP
bool
menuconfig VIRTUALIZATION menuconfig VIRTUALIZATION
bool "Virtualization" bool "Virtualization"
---help--- ---help---
......
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
config HAVE_KVM config HAVE_KVM
bool bool
config HAVE_KVM_IRQCHIP
bool
menuconfig VIRTUALIZATION menuconfig VIRTUALIZATION
bool "Virtualization" bool "Virtualization"
default y default y
......
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
config HAVE_KVM config HAVE_KVM
bool bool
config HAVE_KVM_IRQCHIP
bool
default y
menuconfig VIRTUALIZATION menuconfig VIRTUALIZATION
bool "Virtualization" bool "Virtualization"
depends on HAVE_KVM || X86 depends on HAVE_KVM || X86
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment