Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0ba12d10 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Move common KVM Kconfig items to new file virt/kvm/Kconfig



Reduce Kconfig code duplication.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 787ff736
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
#
# KVM configuration
#
config HAVE_KVM
	bool

config HAVE_KVM_IRQCHIP
       bool
       default y
source "virt/kvm/Kconfig"

menuconfig VIRTUALIZATION
	bool "Virtualization"
@@ -28,6 +24,7 @@ config KVM
	depends on PCI
	select PREEMPT_NOTIFIERS
	select ANON_INODES
	select HAVE_KVM_IRQCHIP
	---help---
	  Support hosting fully virtualized guest machines using hardware
	  virtualization extensions.  You will need a fairly recent
+1 −2
Original line number Diff line number Diff line
@@ -2,8 +2,7 @@
# KVM configuration
#

config HAVE_KVM_IRQCHIP
       bool
source "virt/kvm/Kconfig"

menuconfig VIRTUALIZATION
	bool "Virtualization"
+1 −5
Original line number Diff line number Diff line
#
# KVM configuration
#
config HAVE_KVM
       bool

config HAVE_KVM_IRQCHIP
       bool
source "virt/kvm/Kconfig"

menuconfig VIRTUALIZATION
	bool "Virtualization"
+2 −5
Original line number Diff line number Diff line
#
# KVM configuration
#
config HAVE_KVM
       bool

config HAVE_KVM_IRQCHIP
       bool
       default y
source "virt/kvm/Kconfig"

menuconfig VIRTUALIZATION
	bool "Virtualization"
@@ -29,6 +25,7 @@ config KVM
	select PREEMPT_NOTIFIERS
	select MMU_NOTIFIER
	select ANON_INODES
	select HAVE_KVM_IRQCHIP
	---help---
	  Support hosting fully virtualized guest machines using hardware
	  virtualization extensions.  You will need a fairly recent

virt/kvm/Kconfig

0 → 100644
+7 −0
Original line number Diff line number Diff line
# KVM common configuration items and defaults

config HAVE_KVM
       bool

config HAVE_KVM_IRQCHIP
       bool