1 # SPDX-License-Identifier: GPL-2.0
6 source "virt/kvm/Kconfig"
8 menuconfig VIRTUALIZATION
11 Say Y here to get to see options for using your Linux host to run
12 other operating systems inside virtual machines (guests).
13 This option alone does not add any kernel code.
15 If you say N, all options in this submenu will be skipped and
21 bool "Kernel-based Virtual Machine (KVM) support"
24 select KVM_GENERIC_HARDWARE_ENABLING
25 select KVM_GENERIC_MMU_NOTIFIER
26 select HAVE_KVM_CPU_RELAX_INTERCEPT
28 select KVM_GENERIC_DIRTYLOG_READ_PROTECT
29 select KVM_XFER_TO_GUEST_WORK
31 select HAVE_KVM_DIRTY_RING_ACQ_REL
32 select NEED_KVM_DIRTY_RING_WITH_BITMAP
34 select HAVE_KVM_IRQCHIP
35 select HAVE_KVM_IRQ_ROUTING
36 select IRQ_BYPASS_MANAGER
37 select HAVE_KVM_IRQ_BYPASS
38 select HAVE_KVM_VCPU_RUN_PID_CHANGE
40 select GUEST_PERF_EVENTS if PERF_EVENTS
43 Support hosting virtualized guest machines.
48 bool "Debug mode for non-VHE EL2 object"
51 Say Y here to enable the debug mode for the non-VHE KVM EL2 object.
52 Failure reports will BUG() in the hypervisor. This is intended for
53 local EL2 hypervisor development.
57 config PROTECTED_NVHE_STACKTRACE
58 bool "Protected KVM hypervisor stacktraces"
59 depends on NVHE_EL2_DEBUG
62 Say Y here to enable pKVM hypervisor stacktraces on hyp_panic()
64 If using protected nVHE mode, but cannot afford the associated
65 memory cost (less than 0.75 page per CPU) of pKVM stacktraces,
68 If unsure, or not using protected nVHE (pKVM), say N.
70 endif # VIRTUALIZATION