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