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>
This commit is contained in:
Родитель
4677a3b693
Коммит
5d9b8e30f5
|
@ -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 @@
|
||||||
# KVM configuration
|
# KVM configuration
|
||||||
#
|
#
|
||||||
|
|
||||||
|
config HAVE_KVM_IRQCHIP
|
||||||
|
bool
|
||||||
|
|
||||||
menuconfig VIRTUALIZATION
|
menuconfig VIRTUALIZATION
|
||||||
bool "Virtualization"
|
bool "Virtualization"
|
||||||
---help---
|
---help---
|
||||||
|
|
|
@ -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 @@
|
||||||
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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче