1#
2# KVM configuration
3#
4
5source "virt/kvm/Kconfig"
6
7menuconfig VIRTUALIZATION
8	bool "Virtualization"
9	depends on HAVE_KVM || X86
10	default y
11	---help---
12	  Say Y here to get to see options for using your Linux host to run other
13	  operating systems inside virtual machines (guests).
14	  This option alone does not add any kernel code.
15
16	  If you say N, all options in this submenu will be skipped and disabled.
17
18if VIRTUALIZATION
19
20config KVM
21	tristate "Kernel-based Virtual Machine (KVM) support"
22	depends on HAVE_KVM
23	# for device assignment:
24	depends on PCI
25	select PREEMPT_NOTIFIERS
26	select MMU_NOTIFIER
27	select ANON_INODES
28	select HAVE_KVM_IRQCHIP
29	select HAVE_KVM_EVENTFD
30	select KVM_APIC_ARCHITECTURE
31	select KVM_ASYNC_PF
32	select USER_RETURN_NOTIFIER
33	select KVM_MMIO
34	---help---
35	  Support hosting fully virtualized guest machines using hardware
36	  virtualization extensions.  You will need a fairly recent
37	  processor equipped with virtualization extensions. You will also
38	  need to select one or more of the processor modules below.
39
40	  This module provides access to the hardware capabilities through
41	  a character device node named /dev/kvm.
42
43	  To compile this as a module, choose M here: the module
44	  will be called kvm.
45
46	  If unsure, say N.
47
48config KVM_INTEL
49	tristate "KVM for Intel processors support"
50	depends on KVM
51	---help---
52	  Provides support for KVM on Intel processors equipped with the VT
53	  extensions.
54
55	  To compile this as a module, choose M here: the module
56	  will be called kvm-intel.
57
58config KVM_AMD
59	tristate "KVM for AMD processors support"
60	depends on KVM
61	---help---
62	  Provides support for KVM on AMD processors equipped with the AMD-V
63	  (SVM) extensions.
64
65	  To compile this as a module, choose M here: the module
66	  will be called kvm-amd.
67
68config KVM_MMU_AUDIT
69	bool "Audit KVM MMU"
70	depends on KVM && TRACEPOINTS
71	---help---
72	 This option adds a R/W kVM module parameter 'mmu_audit', which allows
73	 audit  KVM MMU at runtime.
74
75# OK, it's a little counter-intuitive to do this, but it puts it neatly under
76# the virtualization menu.
77source drivers/vhost/Kconfig
78source drivers/lguest/Kconfig
79source drivers/virtio/Kconfig
80
81endif # VIRTUALIZATION
82