xref: /openbmc/linux/arch/arm64/kvm/Kconfig (revision 8cbebc41)
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	# for TASKSTATS/TASK_DELAY_ACCT:
24	depends on NET && MULTIUSER
25	select MMU_NOTIFIER
26	select PREEMPT_NOTIFIERS
27	select HAVE_KVM_CPU_RELAX_INTERCEPT
28	select HAVE_KVM_ARCH_TLB_FLUSH_ALL
29	select KVM_MMIO
30	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
31	select SRCU
32	select KVM_VFIO
33	select HAVE_KVM_EVENTFD
34	select HAVE_KVM_IRQFD
35	select HAVE_KVM_MSI
36	select HAVE_KVM_IRQCHIP
37	select HAVE_KVM_IRQ_ROUTING
38	select IRQ_BYPASS_MANAGER
39	select HAVE_KVM_IRQ_BYPASS
40	select HAVE_KVM_VCPU_RUN_PID_CHANGE
41	select TASKSTATS
42	select TASK_DELAY_ACCT
43	help
44	  Support hosting virtualized guest machines.
45
46	  If unsure, say N.
47
48if KVM
49
50source "virt/kvm/Kconfig"
51
52endif # KVM
53
54endif # VIRTUALIZATION
55