Merge tag 'soc-drivers-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-block.git] / arch / arm64 / kvm / Kconfig
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
c3eb5b14
MZ
2#
3# KVM configuration
4#
5
c8f1e967 6source "virt/kvm/Kconfig"
c3eb5b14
MZ
7
8menuconfig VIRTUALIZATION
9 bool "Virtualization"
a7f7f624 10 help
c3eb5b14
MZ
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.
14
15 If you say N, all options in this submenu will be skipped and
16 disabled.
17
18if VIRTUALIZATION
19
f2613362 20menuconfig KVM
c3eb5b14 21 bool "Kernel-based Virtual Machine (KVM) support"
e26bb75a 22 depends on HAVE_KVM
caadf876 23 select KVM_COMMON
441f7bfa 24 select KVM_GENERIC_HARDWARE_ENABLING
f128cf8c 25 select KVM_GENERIC_MMU_NOTIFIER
d241aac7 26 select HAVE_KVM_CPU_RELAX_INTERCEPT
c3eb5b14 27 select KVM_MMIO
7276030a 28 select KVM_GENERIC_DIRTYLOG_READ_PROTECT
6caa5812 29 select KVM_XFER_TO_GUEST_WORK
8889583c 30 select KVM_VFIO
9cb1096f
GS
31 select HAVE_KVM_DIRTY_RING_ACQ_REL
32 select NEED_KVM_DIRTY_RING_WITH_BITMAP
0e4e82f1 33 select HAVE_KVM_MSI
180ae7b1
EA
34 select HAVE_KVM_IRQCHIP
35 select HAVE_KVM_IRQ_ROUTING
2412405b
EA
36 select IRQ_BYPASS_MANAGER
37 select HAVE_KVM_IRQ_BYPASS
e6b673b7 38 select HAVE_KVM_VCPU_RUN_PID_CHANGE
63b3f96e 39 select SCHED_INFO
2aef6f30 40 select GUEST_PERF_EVENTS if PERF_EVENTS
60046980 41 select XARRAY_MULTI
a7f7f624 42 help
c3eb5b14
MZ
43 Support hosting virtualized guest machines.
44
45 If unsure, say N.
46
03fe9cd0
MZ
47config NVHE_EL2_DEBUG
48 bool "Debug mode for non-VHE EL2 object"
49 depends on KVM
50 help
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.
54
55 If unsure, say N.
56
72adac1b
KS
57config PROTECTED_NVHE_STACKTRACE
58 bool "Protected KVM hypervisor stacktraces"
59 depends on NVHE_EL2_DEBUG
60 default n
61 help
62 Say Y here to enable pKVM hypervisor stacktraces on hyp_panic()
63
72adac1b
KS
64 If using protected nVHE mode, but cannot afford the associated
65 memory cost (less than 0.75 page per CPU) of pKVM stacktraces,
66 say N.
67
03fe9cd0 68 If unsure, or not using protected nVHE (pKVM), say N.
8e049e0d 69
c3eb5b14 70endif # VIRTUALIZATION