Merge branch 'work.splice_read' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git] / arch / arm64 / kvm / Kconfig
1 #
2 # KVM configuration
3 #
4
5 source "virt/kvm/Kconfig"
6
7 menuconfig 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
17 if VIRTUALIZATION
18
19 config KVM_ARM_VGIC_V3_ITS
20         bool
21
22 config 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_ITS
38         select KVM_ARM_PMU if HW_PERF_EVENTS
39         select HAVE_KVM_MSI
40         select HAVE_KVM_IRQCHIP
41         select HAVE_KVM_IRQ_ROUTING
42         ---help---
43           Support hosting virtualized guest machines.
44           We don't support KVM with 16K page tables yet, due to the multiple
45           levels of fake page tables.
46
47           If unsure, say N.
48
49 config KVM_ARM_HOST
50         bool
51         ---help---
52           Provides host support for ARM processors.
53
54 config KVM_ARM_PMU
55         bool
56         ---help---
57           Adds support for a virtual Performance Monitoring Unit (PMU) in
58           virtual machines.
59
60 source drivers/vhost/Kconfig
61
62 endif # VIRTUALIZATION