xref: /linux/arch/arm64/kvm/Kconfig (revision 0883c2c06fb5bcf5b9e008270827e63c09a88c1e)
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	select MMU_NOTIFIER
26	select PREEMPT_NOTIFIERS
27	select ANON_INODES
28	select HAVE_KVM_CPU_RELAX_INTERCEPT
29	select HAVE_KVM_ARCH_TLB_FLUSH_ALL
30	select KVM_MMIO
31	select KVM_ARM_HOST
32	select KVM_GENERIC_DIRTYLOG_READ_PROTECT
33	select SRCU
34	select KVM_VFIO
35	select HAVE_KVM_EVENTFD
36	select HAVE_KVM_IRQFD
37	select KVM_ARM_VGIC_V3
38	select KVM_ARM_PMU if HW_PERF_EVENTS
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
57config KVM_NEW_VGIC
58	bool "New VGIC implementation"
59	depends on KVM
60	default y
61        ---help---
62          uses the new VGIC implementation
63
64source drivers/vhost/Kconfig
65
66endif # VIRTUALIZATION
67