xref: /openbmc/linux/arch/arm64/kvm/Kconfig (revision 97e6ea6d)
1# SPDX-License-Identifier: GPL-2.0
2#
3# KVM configuration
4#
5
6source "virt/lib/Kconfig"
7
8menuconfig VIRTUALIZATION
9	bool "Virtualization"
10	help
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
20menuconfig KVM
21	bool "Kernel-based Virtual Machine (KVM) support"
22	depends on OF
23	select MMU_NOTIFIER
24	select PREEMPT_NOTIFIERS
25	select HAVE_KVM_CPU_RELAX_INTERCEPT
26	select HAVE_KVM_ARCH_TLB_FLUSH_ALL
27	select KVM_MMIO
28	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
29	select KVM_XFER_TO_GUEST_WORK
30	select SRCU
31	select KVM_VFIO
32	select HAVE_KVM_EVENTFD
33	select HAVE_KVM_IRQFD
34	select HAVE_KVM_MSI
35	select HAVE_KVM_IRQCHIP
36	select HAVE_KVM_IRQ_ROUTING
37	select IRQ_BYPASS_MANAGER
38	select HAVE_KVM_IRQ_BYPASS
39	select HAVE_KVM_VCPU_RUN_PID_CHANGE
40	select SCHED_INFO
41	help
42	  Support hosting virtualized guest machines.
43
44	  If unsure, say N.
45
46if KVM
47
48source "virt/kvm/Kconfig"
49
50config NVHE_EL2_DEBUG
51	bool "Debug mode for non-VHE EL2 object"
52	help
53	  Say Y here to enable the debug mode for the non-VHE KVM EL2 object.
54	  Failure reports will BUG() in the hypervisor. This is intended for
55	  local EL2 hypervisor development.
56
57	  If unsure, say N.
58
59endif # KVM
60
61endif # VIRTUALIZATION
62