xref: /openbmc/linux/arch/arm64/kvm/Kconfig (revision 9659281c)
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 SRCU
30	select KVM_VFIO
31	select HAVE_KVM_EVENTFD
32	select HAVE_KVM_IRQFD
33	select HAVE_KVM_MSI
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
39	select SCHED_INFO
40	help
41	  Support hosting virtualized guest machines.
42
43	  If unsure, say N.
44
45if KVM
46
47source "virt/kvm/Kconfig"
48
49endif # KVM
50
51endif # VIRTUALIZATION
52