xref: /openbmc/linux/arch/x86/kvm/Kconfig (revision 367b8112)
1#
2# KVM configuration
3#
4config HAVE_KVM
5       bool
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	select PREEMPT_NOTIFIERS
24	select MMU_NOTIFIER
25	select ANON_INODES
26	---help---
27	  Support hosting fully virtualized guest machines using hardware
28	  virtualization extensions.  You will need a fairly recent
29	  processor equipped with virtualization extensions. You will also
30	  need to select one or more of the processor modules below.
31
32	  This module provides access to the hardware capabilities through
33	  a character device node named /dev/kvm.
34
35	  To compile this as a module, choose M here: the module
36	  will be called kvm.
37
38	  If unsure, say N.
39
40config KVM_INTEL
41	tristate "KVM for Intel processors support"
42	depends on KVM
43	---help---
44	  Provides support for KVM on Intel processors equipped with the VT
45	  extensions.
46
47config KVM_AMD
48	tristate "KVM for AMD processors support"
49	depends on KVM
50	---help---
51	  Provides support for KVM on AMD processors equipped with the AMD-V
52	  (SVM) extensions.
53
54config KVM_TRACE
55	bool "KVM trace support"
56	depends on KVM && MARKERS && SYSFS
57	select RELAY
58	select DEBUG_FS
59	default n
60	---help---
61	  This option allows reading a trace of kvm-related events through
62	  relayfs.  Note the ABI is not considered stable and will be
63	  modified in future updates.
64
65# OK, it's a little counter-intuitive to do this, but it puts it neatly under
66# the virtualization menu.
67source drivers/lguest/Kconfig
68source drivers/virtio/Kconfig
69
70endif # VIRTUALIZATION
71