xref: /openbmc/linux/arch/x86/kvm/Kconfig (revision 6ee73861)
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	---help---
32	  Support hosting fully virtualized guest machines using hardware
33	  virtualization extensions.  You will need a fairly recent
34	  processor equipped with virtualization extensions. You will also
35	  need to select one or more of the processor modules below.
36
37	  This module provides access to the hardware capabilities through
38	  a character device node named /dev/kvm.
39
40	  To compile this as a module, choose M here: the module
41	  will be called kvm.
42
43	  If unsure, say N.
44
45config KVM_INTEL
46	tristate "KVM for Intel processors support"
47	depends on KVM
48	---help---
49	  Provides support for KVM on Intel processors equipped with the VT
50	  extensions.
51
52	  To compile this as a module, choose M here: the module
53	  will be called kvm-intel.
54
55config KVM_AMD
56	tristate "KVM for AMD processors support"
57	depends on KVM
58	---help---
59	  Provides support for KVM on AMD processors equipped with the AMD-V
60	  (SVM) extensions.
61
62	  To compile this as a module, choose M here: the module
63	  will be called kvm-amd.
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