KVM: Move common KVM Kconfig items to new file virt/kvm/Kconfig
Reduce Kconfig code duplication. Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
787ff73637
commit
0ba12d1081
5 changed files with 13 additions and 17 deletions
|
@ -1,12 +1,8 @@
|
||||||
#
|
#
|
||||||
# KVM configuration
|
# KVM configuration
|
||||||
#
|
#
|
||||||
config HAVE_KVM
|
|
||||||
bool
|
|
||||||
|
|
||||||
config HAVE_KVM_IRQCHIP
|
source "virt/kvm/Kconfig"
|
||||||
bool
|
|
||||||
default y
|
|
||||||
|
|
||||||
menuconfig VIRTUALIZATION
|
menuconfig VIRTUALIZATION
|
||||||
bool "Virtualization"
|
bool "Virtualization"
|
||||||
|
@ -28,6 +24,7 @@ config KVM
|
||||||
depends on PCI
|
depends on PCI
|
||||||
select PREEMPT_NOTIFIERS
|
select PREEMPT_NOTIFIERS
|
||||||
select ANON_INODES
|
select ANON_INODES
|
||||||
|
select HAVE_KVM_IRQCHIP
|
||||||
---help---
|
---help---
|
||||||
Support hosting fully virtualized guest machines using hardware
|
Support hosting fully virtualized guest machines using hardware
|
||||||
virtualization extensions. You will need a fairly recent
|
virtualization extensions. You will need a fairly recent
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
# KVM configuration
|
# KVM configuration
|
||||||
#
|
#
|
||||||
|
|
||||||
config HAVE_KVM_IRQCHIP
|
source "virt/kvm/Kconfig"
|
||||||
bool
|
|
||||||
|
|
||||||
menuconfig VIRTUALIZATION
|
menuconfig VIRTUALIZATION
|
||||||
bool "Virtualization"
|
bool "Virtualization"
|
||||||
|
|
|
@ -1,11 +1,7 @@
|
||||||
#
|
#
|
||||||
# KVM configuration
|
# KVM configuration
|
||||||
#
|
#
|
||||||
config HAVE_KVM
|
source "virt/kvm/Kconfig"
|
||||||
bool
|
|
||||||
|
|
||||||
config HAVE_KVM_IRQCHIP
|
|
||||||
bool
|
|
||||||
|
|
||||||
menuconfig VIRTUALIZATION
|
menuconfig VIRTUALIZATION
|
||||||
bool "Virtualization"
|
bool "Virtualization"
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
#
|
#
|
||||||
# KVM configuration
|
# KVM configuration
|
||||||
#
|
#
|
||||||
config HAVE_KVM
|
|
||||||
bool
|
|
||||||
|
|
||||||
config HAVE_KVM_IRQCHIP
|
source "virt/kvm/Kconfig"
|
||||||
bool
|
|
||||||
default y
|
|
||||||
|
|
||||||
menuconfig VIRTUALIZATION
|
menuconfig VIRTUALIZATION
|
||||||
bool "Virtualization"
|
bool "Virtualization"
|
||||||
|
@ -29,6 +25,7 @@ config KVM
|
||||||
select PREEMPT_NOTIFIERS
|
select PREEMPT_NOTIFIERS
|
||||||
select MMU_NOTIFIER
|
select MMU_NOTIFIER
|
||||||
select ANON_INODES
|
select ANON_INODES
|
||||||
|
select HAVE_KVM_IRQCHIP
|
||||||
---help---
|
---help---
|
||||||
Support hosting fully virtualized guest machines using hardware
|
Support hosting fully virtualized guest machines using hardware
|
||||||
virtualization extensions. You will need a fairly recent
|
virtualization extensions. You will need a fairly recent
|
||||||
|
|
7
virt/kvm/Kconfig
Normal file
7
virt/kvm/Kconfig
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# KVM common configuration items and defaults
|
||||||
|
|
||||||
|
config HAVE_KVM
|
||||||
|
bool
|
||||||
|
|
||||||
|
config HAVE_KVM_IRQCHIP
|
||||||
|
bool
|
Loading…
Reference in a new issue