xref: /openbmc/linux/arch/arm64/kvm/Kconfig (revision b2441318)
1# SPDX-License-Identifier: GPL-2.0
2#
3# KVM configuration
4#
5
6source "virt/kvm/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
20config KVM
21	bool "Kernel-based Virtual Machine (KVM) support"
22	depends on OF
23	select MMU_NOTIFIER
24	select PREEMPT_NOTIFIERS
25	select ANON_INODES
26	select HAVE_KVM_CPU_RELAX_INTERCEPT
27	select HAVE_KVM_ARCH_TLB_FLUSH_ALL
28	select KVM_MMIO
29	select KVM_ARM_HOST
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 KVM_ARM_PMU if HW_PERF_EVENTS
36	select HAVE_KVM_MSI
37	select HAVE_KVM_IRQCHIP
38	select HAVE_KVM_IRQ_ROUTING
39	---help---
40	  Support hosting virtualized guest machines.
41	  We don't support KVM with 16K page tables yet, due to the multiple
42	  levels of fake page tables.
43
44	  If unsure, say N.
45
46config KVM_ARM_HOST
47	bool
48	---help---
49	  Provides host support for ARM processors.
50
51config KVM_ARM_PMU
52	bool
53	---help---
54	  Adds support for a virtual Performance Monitoring Unit (PMU) in
55	  virtual machines.
56
57source drivers/vhost/Kconfig
58
59endif # VIRTUALIZATION
60