xref: /openbmc/linux/arch/x86/kvm/Kconfig (revision edf884172e9828c6234b254208af04655855038d)
1*edf88417SAvi Kivity#
2*edf88417SAvi Kivity# KVM configuration
3*edf88417SAvi Kivity#
4*edf88417SAvi Kivityconfig HAVE_KVM
5*edf88417SAvi Kivity       bool
6*edf88417SAvi Kivity
7*edf88417SAvi Kivitymenuconfig VIRTUALIZATION
8*edf88417SAvi Kivity	bool "Virtualization"
9*edf88417SAvi Kivity	depends on HAVE_KVM || X86
10*edf88417SAvi Kivity	default y
11*edf88417SAvi Kivity	---help---
12*edf88417SAvi Kivity	  Say Y here to get to see options for using your Linux host to run other
13*edf88417SAvi Kivity	  operating systems inside virtual machines (guests).
14*edf88417SAvi Kivity	  This option alone does not add any kernel code.
15*edf88417SAvi Kivity
16*edf88417SAvi Kivity	  If you say N, all options in this submenu will be skipped and disabled.
17*edf88417SAvi Kivity
18*edf88417SAvi Kivityif VIRTUALIZATION
19*edf88417SAvi Kivity
20*edf88417SAvi Kivityconfig KVM
21*edf88417SAvi Kivity	tristate "Kernel-based Virtual Machine (KVM) support"
22*edf88417SAvi Kivity	depends on HAVE_KVM && EXPERIMENTAL
23*edf88417SAvi Kivity	select PREEMPT_NOTIFIERS
24*edf88417SAvi Kivity	select ANON_INODES
25*edf88417SAvi Kivity	---help---
26*edf88417SAvi Kivity	  Support hosting fully virtualized guest machines using hardware
27*edf88417SAvi Kivity	  virtualization extensions.  You will need a fairly recent
28*edf88417SAvi Kivity	  processor equipped with virtualization extensions. You will also
29*edf88417SAvi Kivity	  need to select one or more of the processor modules below.
30*edf88417SAvi Kivity
31*edf88417SAvi Kivity	  This module provides access to the hardware capabilities through
32*edf88417SAvi Kivity	  a character device node named /dev/kvm.
33*edf88417SAvi Kivity
34*edf88417SAvi Kivity	  To compile this as a module, choose M here: the module
35*edf88417SAvi Kivity	  will be called kvm.
36*edf88417SAvi Kivity
37*edf88417SAvi Kivity	  If unsure, say N.
38*edf88417SAvi Kivity
39*edf88417SAvi Kivityconfig KVM_INTEL
40*edf88417SAvi Kivity	tristate "KVM for Intel processors support"
41*edf88417SAvi Kivity	depends on KVM
42*edf88417SAvi Kivity	---help---
43*edf88417SAvi Kivity	  Provides support for KVM on Intel processors equipped with the VT
44*edf88417SAvi Kivity	  extensions.
45*edf88417SAvi Kivity
46*edf88417SAvi Kivityconfig KVM_AMD
47*edf88417SAvi Kivity	tristate "KVM for AMD processors support"
48*edf88417SAvi Kivity	depends on KVM
49*edf88417SAvi Kivity	---help---
50*edf88417SAvi Kivity	  Provides support for KVM on AMD processors equipped with the AMD-V
51*edf88417SAvi Kivity	  (SVM) extensions.
52*edf88417SAvi Kivity
53*edf88417SAvi Kivity# OK, it's a little counter-intuitive to do this, but it puts it neatly under
54*edf88417SAvi Kivity# the virtualization menu.
55*edf88417SAvi Kivitysource drivers/lguest/Kconfig
56*edf88417SAvi Kivity
57*edf88417SAvi Kivityendif # VIRTUALIZATION
58