]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/x86/kvm/Kconfig
KVM: Move common KVM Kconfig items to new file virt/kvm/Kconfig
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / kvm / Kconfig
1 #
2 # KVM configuration
3 #
4
5 source "virt/kvm/Kconfig"
6
7 menuconfig 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
18 if VIRTUALIZATION
19
20 config 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 ---help---
30 Support hosting fully virtualized guest machines using hardware
31 virtualization extensions. You will need a fairly recent
32 processor equipped with virtualization extensions. You will also
33 need to select one or more of the processor modules below.
34
35 This module provides access to the hardware capabilities through
36 a character device node named /dev/kvm.
37
38 To compile this as a module, choose M here: the module
39 will be called kvm.
40
41 If unsure, say N.
42
43 config KVM_INTEL
44 tristate "KVM for Intel processors support"
45 depends on KVM
46 ---help---
47 Provides support for KVM on Intel processors equipped with the VT
48 extensions.
49
50 To compile this as a module, choose M here: the module
51 will be called kvm-intel.
52
53 config KVM_AMD
54 tristate "KVM for AMD processors support"
55 depends on KVM
56 ---help---
57 Provides support for KVM on AMD processors equipped with the AMD-V
58 (SVM) extensions.
59
60 To compile this as a module, choose M here: the module
61 will be called kvm-amd.
62
63 config KVM_TRACE
64 bool "KVM trace support"
65 depends on KVM && SYSFS
66 select MARKERS
67 select RELAY
68 select DEBUG_FS
69 default n
70 ---help---
71 This option allows reading a trace of kvm-related events through
72 relayfs. Note the ABI is not considered stable and will be
73 modified in future updates.
74
75 # OK, it's a little counter-intuitive to do this, but it puts it neatly under
76 # the virtualization menu.
77 source drivers/lguest/Kconfig
78 source drivers/virtio/Kconfig
79
80 endif # VIRTUALIZATION