1 # SPDX-License-Identifier: GPL-2.0
6 source "virt/kvm/Kconfig"
8 menuconfig VIRTUALIZATION
10 depends on HAVE_KVM || X86
13 Say Y here to get to see options for using your Linux host to run other
14 operating systems inside virtual machines (guests).
15 This option alone does not add any kernel code.
17 If you say N, all options in this submenu will be skipped and disabled.
22 tristate "Kernel-based Virtual Machine (KVM) support"
24 depends on HIGH_RES_TIMERS
25 # for TASKSTATS/TASK_DELAY_ACCT:
26 depends on NET && MULTIUSER
27 depends on X86_LOCAL_APIC
28 select PREEMPT_NOTIFIERS
31 select HAVE_KVM_IRQCHIP
33 select IRQ_BYPASS_MANAGER
34 select HAVE_KVM_IRQ_BYPASS
35 select HAVE_KVM_IRQ_ROUTING
36 select HAVE_KVM_EVENTFD
38 select USER_RETURN_NOTIFIER
41 select TASK_DELAY_ACCT
44 select HAVE_KVM_CPU_RELAX_INTERCEPT
45 select KVM_GENERIC_DIRTYLOG_READ_PROTECT
49 Support hosting fully virtualized guest machines using hardware
50 virtualization extensions. You will need a fairly recent
51 processor equipped with virtualization extensions. You will also
52 need to select one or more of the processor modules below.
54 This module provides access to the hardware capabilities through
55 a character device node named /dev/kvm.
57 To compile this as a module, choose M here: the module
63 tristate "KVM for Intel processors support"
65 # for perf_guest_get_msrs():
66 depends on CPU_SUP_INTEL
68 Provides support for KVM on Intel processors equipped with the VT
71 To compile this as a module, choose M here: the module
72 will be called kvm-intel.
75 tristate "KVM for AMD processors support"
78 Provides support for KVM on AMD processors equipped with the AMD-V
81 To compile this as a module, choose M here: the module
82 will be called kvm-amd.
86 bool "AMD Secure Encrypted Virtualization (SEV) support"
87 depends on KVM_AMD && X86_64
88 depends on CRYPTO_DEV_CCP && CRYPTO_DEV_CCP_DD && CRYPTO_DEV_SP_PSP
90 Provides support for launching Encrypted VMs on AMD processors.
94 depends on KVM && TRACEPOINTS
96 This option adds a R/W kVM module parameter 'mmu_audit', which allows
97 auditing of KVM MMU events at runtime.
99 # OK, it's a little counter-intuitive to do this, but it puts it neatly under
100 # the virtualization menu.
101 source drivers/vhost/Kconfig
103 endif # VIRTUALIZATION