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