Kconfig 1.91 KB
Newer Older
1 2 3
#
# KVM configuration
#
4

5
source "virt/kvm/Kconfig"
6

7 8
menuconfig VIRTUALIZATION
	bool "Virtualization"
9
	depends on HAVE_KVM || X86
10
	default y
11
	---help---
12 13
	  Say Y here to get to see options for using your Linux host to run other
	  operating systems inside virtual machines (guests).
14 15 16
	  This option alone does not add any kernel code.

	  If you say N, all options in this submenu will be skipped and disabled.
17 18

if VIRTUALIZATION
19

20 21
config KVM
	tristate "Kernel-based Virtual Machine (KVM) support"
Avi Kivity's avatar
Avi Kivity committed
22
	depends on HAVE_KVM
Avi Kivity's avatar
Avi Kivity committed
23 24
	# for device assignment:
	depends on PCI
25
	select PREEMPT_NOTIFIERS
Andrea Arcangeli's avatar
Andrea Arcangeli committed
26
	select MMU_NOTIFIER
Avi Kivity's avatar
Avi Kivity committed
27
	select ANON_INODES
28
	select HAVE_KVM_IRQCHIP
Gregory Haskins's avatar
Gregory Haskins committed
29
	select HAVE_KVM_EVENTFD
30
	select KVM_APIC_ARCHITECTURE
31
	select USER_RETURN_NOTIFIER
Avi Kivity's avatar
Avi Kivity committed
32
	select KVM_MMIO
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
	---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 processors support"
	depends on KVM
	---help---
	  Provides support for KVM on Intel processors equipped with the VT
	  extensions.

54 55 56
	  To compile this as a module, choose M here: the module
	  will be called kvm-intel.

57 58 59 60 61 62
config KVM_AMD
	tristate "KVM for AMD processors support"
	depends on KVM
	---help---
	  Provides support for KVM on AMD processors equipped with the AMD-V
	  (SVM) extensions.
63

64 65 66
	  To compile this as a module, choose M here: the module
	  will be called kvm-amd.

67 68 69
# OK, it's a little counter-intuitive to do this, but it puts it neatly under
# the virtualization menu.
source drivers/lguest/Kconfig
70
source drivers/virtio/Kconfig
71

72
endif # VIRTUALIZATION