Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
749cf76c CD |
2 | # |
3 | # KVM configuration | |
4 | # | |
5 | ||
6 | source "virt/kvm/Kconfig" | |
2412405b | 7 | source "virt/lib/Kconfig" |
749cf76c CD |
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" | |
662d9715 | 23 | depends on MMU && OF |
749cf76c | 24 | select PREEMPT_NOTIFIERS |
4a5d69b7 | 25 | select ARM_GIC |
7129a9d8 MZ |
26 | select ARM_GIC_V3 |
27 | select ARM_GIC_V3_ITS | |
58d5ec8f | 28 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
72fc36b6 | 29 | select HAVE_KVM_ARCH_TLB_FLUSH_ALL |
749cf76c CD |
30 | select KVM_MMIO |
31 | select KVM_ARM_HOST | |
53c810c3 | 32 | select KVM_GENERIC_DIRTYLOG_READ_PROTECT |
83fe27ea | 33 | select SRCU |
662d9715 | 34 | select MMU_NOTIFIER |
8889583c | 35 | select KVM_VFIO |
174178fe EA |
36 | select HAVE_KVM_EVENTFD |
37 | select HAVE_KVM_IRQFD | |
180ae7b1 EA |
38 | select HAVE_KVM_IRQCHIP |
39 | select HAVE_KVM_IRQ_ROUTING | |
2988509d | 40 | select HAVE_KVM_MSI |
2412405b EA |
41 | select IRQ_BYPASS_MANAGER |
42 | select HAVE_KVM_IRQ_BYPASS | |
662d9715 | 43 | depends on ARM_VIRT_EXT && ARM_LPAE && ARM_ARCH_TIMER |
749cf76c | 44 | ---help--- |
662d9715 | 45 | Support hosting virtualized guest machines. |
749cf76c CD |
46 | |
47 | This module provides access to the hardware capabilities through | |
48 | a character device node named /dev/kvm. | |
49 | ||
50 | If unsure, say N. | |
51 | ||
52 | config KVM_ARM_HOST | |
662d9715 | 53 | bool |
749cf76c CD |
54 | ---help--- |
55 | Provides host support for ARM processors. | |
56 | ||
8636a1f9 | 57 | source "drivers/vhost/Kconfig" |
75755c6d | 58 | |
749cf76c | 59 | endif # VIRTUALIZATION |