xref: /linux/arch/x86/kvm/Kconfig (revision f2ee442115c9b6219083c019939a9cc0c9abb2f8)
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	# for TASKSTATS/TASK_DELAY_ACCT:
26	depends on NET
27	select PREEMPT_NOTIFIERS
28	select MMU_NOTIFIER
29	select ANON_INODES
30	select HAVE_KVM_IRQCHIP
31	select HAVE_KVM_EVENTFD
32	select KVM_APIC_ARCHITECTURE
33	select KVM_ASYNC_PF
34	select USER_RETURN_NOTIFIER
35	select KVM_MMIO
36	select TASKSTATS
37	select TASK_DELAY_ACCT
38	---help---
39	  Support hosting fully virtualized guest machines using hardware
40	  virtualization extensions.  You will need a fairly recent
41	  processor equipped with virtualization extensions. You will also
42	  need to select one or more of the processor modules below.
43
44	  This module provides access to the hardware capabilities through
45	  a character device node named /dev/kvm.
46
47	  To compile this as a module, choose M here: the module
48	  will be called kvm.
49
50	  If unsure, say N.
51
52config KVM_INTEL
53	tristate "KVM for Intel processors support"
54	depends on KVM
55	---help---
56	  Provides support for KVM on Intel processors equipped with the VT
57	  extensions.
58
59	  To compile this as a module, choose M here: the module
60	  will be called kvm-intel.
61
62config KVM_AMD
63	tristate "KVM for AMD processors support"
64	depends on KVM
65	---help---
66	  Provides support for KVM on AMD processors equipped with the AMD-V
67	  (SVM) extensions.
68
69	  To compile this as a module, choose M here: the module
70	  will be called kvm-amd.
71
72config KVM_MMU_AUDIT
73	bool "Audit KVM MMU"
74	depends on KVM && TRACEPOINTS
75	---help---
76	 This option adds a R/W kVM module parameter 'mmu_audit', which allows
77	 audit  KVM MMU at runtime.
78
79# OK, it's a little counter-intuitive to do this, but it puts it neatly under
80# the virtualization menu.
81source drivers/vhost/Kconfig
82source drivers/lguest/Kconfig
83
84endif # VIRTUALIZATION
85