Merge branch 'x86/ptrace' into x86/tsc
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / x86 / kvm / Kconfig
CommitLineData
6aa8b732
AK
1#
2# KVM configuration
3#
fb56dbb3
AK
4config HAVE_KVM
5 bool
6
de062065
JE
7menuconfig VIRTUALIZATION
8 bool "Virtualization"
fb56dbb3 9 depends on HAVE_KVM || X86
de062065 10 default y
06bfb7eb 11 ---help---
36a74097
AK
12 Say Y here to get to see options for using your Linux host to run other
13 operating systems inside virtual machines (guests).
06bfb7eb
JE
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.
de062065
JE
17
18if VIRTUALIZATION
fd24dc4a 19
6aa8b732
AK
20config KVM
21 tristate "Kernel-based Virtual Machine (KVM) support"
268fe02a 22 depends on HAVE_KVM
ca93e992
AK
23 # for device assignment:
24 depends on PCI
15ad7146 25 select PREEMPT_NOTIFIERS
cddb8a5c 26 select MMU_NOTIFIER
77668791 27 select ANON_INODES
6aa8b732
AK
28 ---help---
29 Support hosting fully virtualized guest machines using hardware
30 virtualization extensions. You will need a fairly recent
31 processor equipped with virtualization extensions. You will also
32 need to select one or more of the processor modules below.
33
34 This module provides access to the hardware capabilities through
35 a character device node named /dev/kvm.
36
37 To compile this as a module, choose M here: the module
38 will be called kvm.
39
40 If unsure, say N.
41
42config KVM_INTEL
43 tristate "KVM for Intel processors support"
44 depends on KVM
45 ---help---
46 Provides support for KVM on Intel processors equipped with the VT
47 extensions.
48
49config KVM_AMD
50 tristate "KVM for AMD processors support"
51 depends on KVM
52 ---help---
53 Provides support for KVM on AMD processors equipped with the AMD-V
54 (SVM) extensions.
fd24dc4a 55
d4c9ff2d
FEL
56config KVM_TRACE
57 bool "KVM trace support"
58 depends on KVM && MARKERS && SYSFS
59 select RELAY
60 select DEBUG_FS
61 default n
62 ---help---
63 This option allows reading a trace of kvm-related events through
64 relayfs. Note the ABI is not considered stable and will be
65 modified in future updates.
66
9525ca02
RR
67# OK, it's a little counter-intuitive to do this, but it puts it neatly under
68# the virtualization menu.
69source drivers/lguest/Kconfig
0ad07ec1 70source drivers/virtio/Kconfig
9525ca02 71
de062065 72endif # VIRTUALIZATION