GNU Linux-libre 4.19.264-gnu1
[releases.git] / arch / arm / kvm / Kconfig
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # KVM configuration
4 #
5
6 source "virt/kvm/Kconfig"
7 source "virt/lib/Kconfig"
8
9 menuconfig VIRTUALIZATION
10         bool "Virtualization"
11         ---help---
12           Say Y here to get to see options for using your Linux host to run
13           other operating systems inside virtual machines (guests).
14           This option alone does not add any kernel code.
15
16           If you say N, all options in this submenu will be skipped and
17           disabled.
18
19 if VIRTUALIZATION
20
21 config KVM
22         bool "Kernel-based Virtual Machine (KVM) support"
23         depends on MMU && OF
24         select PREEMPT_NOTIFIERS
25         select ANON_INODES
26         select ARM_GIC
27         select ARM_GIC_V3
28         select ARM_GIC_V3_ITS
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 MMU_NOTIFIER
36         select KVM_VFIO
37         select HAVE_KVM_EVENTFD
38         select HAVE_KVM_IRQFD
39         select HAVE_KVM_IRQCHIP
40         select HAVE_KVM_IRQ_ROUTING
41         select HAVE_KVM_MSI
42         select IRQ_BYPASS_MANAGER
43         select HAVE_KVM_IRQ_BYPASS
44         depends on ARM_VIRT_EXT && ARM_LPAE && ARM_ARCH_TIMER
45         ---help---
46           Support hosting virtualized guest machines.
47
48           This module provides access to the hardware capabilities through
49           a character device node named /dev/kvm.
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 source drivers/vhost/Kconfig
59
60 endif # VIRTUALIZATION