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