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