xref: /openbmc/linux/arch/arm64/kvm/Kconfig (revision 56d06fa2)
1#
2# KVM configuration
3#
4
5source "virt/kvm/Kconfig"
6
7menuconfig VIRTUALIZATION
8	bool "Virtualization"
9	---help---
10	  Say Y here to get to see options for using your Linux host to run
11	  other operating systems inside virtual machines (guests).
12	  This option alone does not add any kernel code.
13
14	  If you say N, all options in this submenu will be skipped and
15	  disabled.
16
17if VIRTUALIZATION
18
19config KVM_ARM_VGIC_V3
20	bool
21
22config KVM
23	bool "Kernel-based Virtual Machine (KVM) support"
24	depends on OF
25	depends on !ARM64_16K_PAGES
26	select MMU_NOTIFIER
27	select PREEMPT_NOTIFIERS
28	select ANON_INODES
29	select HAVE_KVM_CPU_RELAX_INTERCEPT
30	select HAVE_KVM_ARCH_TLB_FLUSH_ALL
31	select KVM_MMIO
32	select KVM_ARM_HOST
33	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
34	select SRCU
35	select KVM_VFIO
36	select HAVE_KVM_EVENTFD
37	select HAVE_KVM_IRQFD
38	select KVM_ARM_VGIC_V3
39	select KVM_ARM_PMU if HW_PERF_EVENTS
40	---help---
41	  Support hosting virtualized guest machines.
42	  We don't support KVM with 16K page tables yet, due to the multiple
43	  levels of fake page tables.
44
45	  If unsure, say N.
46
47config KVM_ARM_HOST
48	bool
49	---help---
50	  Provides host support for ARM processors.
51
52config KVM_ARM_PMU
53	bool
54	---help---
55	  Adds support for a virtual Performance Monitoring Unit (PMU) in
56	  virtual machines.
57
58source drivers/vhost/Kconfig
59
60endif # VIRTUALIZATION
61