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	---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
51source drivers/vhost/Kconfig
52
53endif # VIRTUALIZATION
54