2906e79f21
Since kvm-intel modue can't be built-in, make kvm depend on CONFIG_MODULES. Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com> Signed-off-by: Avi Kivity <avi@redhat.com>
57 lines
1.4 KiB
Text
57 lines
1.4 KiB
Text
#
|
|
# KVM configuration
|
|
#
|
|
config HAVE_KVM
|
|
bool
|
|
|
|
config HAVE_KVM_IRQCHIP
|
|
bool
|
|
default y
|
|
|
|
menuconfig VIRTUALIZATION
|
|
bool "Virtualization"
|
|
depends on HAVE_KVM || IA64
|
|
default y
|
|
---help---
|
|
Say Y here to get to see options for using your Linux host to run other
|
|
operating systems inside virtual machines (guests).
|
|
This option alone does not add any kernel code.
|
|
|
|
If you say N, all options in this submenu will be skipped and disabled.
|
|
|
|
if VIRTUALIZATION
|
|
|
|
config KVM
|
|
tristate "Kernel-based Virtual Machine (KVM) support"
|
|
depends on HAVE_KVM && MODULES && EXPERIMENTAL
|
|
# for device assignment:
|
|
depends on PCI
|
|
select PREEMPT_NOTIFIERS
|
|
select ANON_INODES
|
|
---help---
|
|
Support hosting fully virtualized guest machines using hardware
|
|
virtualization extensions. You will need a fairly recent
|
|
processor equipped with virtualization extensions. You will also
|
|
need to select one or more of the processor modules below.
|
|
|
|
This module provides access to the hardware capabilities through
|
|
a character device node named /dev/kvm.
|
|
|
|
To compile this as a module, choose M here: the module
|
|
will be called kvm.
|
|
|
|
If unsure, say N.
|
|
|
|
config KVM_INTEL
|
|
tristate "KVM for Intel Itanium 2 processors support"
|
|
depends on KVM && m
|
|
---help---
|
|
Provides support for KVM on Itanium 2 processors equipped with the VT
|
|
extensions.
|
|
|
|
config KVM_TRACE
|
|
bool
|
|
|
|
source drivers/virtio/Kconfig
|
|
|
|
endif # VIRTUALIZATION
|