Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [diff] [blame] | 2 | # |
| 3 | # KVM configuration |
| 4 | # |
| 5 | |
| 6 | source "virt/kvm/Kconfig" |
Eric Auger | 2412405 | 2017-10-27 15:28:31 +0100 | [diff] [blame] | 7 | source "virt/lib/Kconfig" |
Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [diff] [blame] | 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" |
Christoffer Dall | 662d971 | 2015-03-11 14:21:31 +0100 | [diff] [blame] | 23 | depends on MMU && OF |
Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [diff] [blame] | 24 | select PREEMPT_NOTIFIERS |
Arnd Bergmann | 4a5d69b | 2015-10-12 15:22:31 +0200 | [diff] [blame] | 25 | select ARM_GIC |
Marc Zyngier | 7129a9d | 2017-10-27 15:28:33 +0100 | [diff] [blame] | 26 | select ARM_GIC_V3 |
| 27 | select ARM_GIC_V3_ITS |
Marc Zyngier | 58d5ec8 | 2013-10-08 18:38:13 +0100 | [diff] [blame] | 28 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
Mario Smarduch | 72fc36b | 2015-01-15 15:58:55 -0800 | [diff] [blame] | 29 | select HAVE_KVM_ARCH_TLB_FLUSH_ALL |
Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [diff] [blame] | 30 | select KVM_MMIO |
| 31 | select KVM_ARM_HOST |
Mario Smarduch | 53c810c | 2015-01-15 15:58:57 -0800 | [diff] [blame] | 32 | select KVM_GENERIC_DIRTYLOG_READ_PROTECT |
Pranith Kumar | 83fe27e | 2014-12-05 11:24:45 -0500 | [diff] [blame] | 33 | select SRCU |
Christoffer Dall | 662d971 | 2015-03-11 14:21:31 +0100 | [diff] [blame] | 34 | select MMU_NOTIFIER |
Kim Phillips | 8889583 | 2015-06-05 16:21:49 +0100 | [diff] [blame] | 35 | select KVM_VFIO |
Eric Auger | 174178f | 2015-03-04 11:14:36 +0100 | [diff] [blame] | 36 | select HAVE_KVM_EVENTFD |
| 37 | select HAVE_KVM_IRQFD |
Eric Auger | 180ae7b | 2016-07-22 16:20:41 +0000 | [diff] [blame] | 38 | select HAVE_KVM_IRQCHIP |
| 39 | select HAVE_KVM_IRQ_ROUTING |
Vladimir Murzin | 2988509 | 2016-11-02 11:55:34 +0000 | [diff] [blame] | 40 | select HAVE_KVM_MSI |
Eric Auger | 2412405 | 2017-10-27 15:28:31 +0100 | [diff] [blame] | 41 | select IRQ_BYPASS_MANAGER |
| 42 | select HAVE_KVM_IRQ_BYPASS |
Christoffer Dall | 662d971 | 2015-03-11 14:21:31 +0100 | [diff] [blame] | 43 | depends on ARM_VIRT_EXT && ARM_LPAE && ARM_ARCH_TIMER |
Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [diff] [blame] | 44 | ---help--- |
Christoffer Dall | 662d971 | 2015-03-11 14:21:31 +0100 | [diff] [blame] | 45 | Support hosting virtualized guest machines. |
Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [diff] [blame] | 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 |
Christoffer Dall | 662d971 | 2015-03-11 14:21:31 +0100 | [diff] [blame] | 53 | bool |
Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [diff] [blame] | 54 | ---help--- |
| 55 | Provides host support for ARM processors. |
| 56 | |
Masahiro Yamada | 8636a1f | 2018-12-11 20:01:04 +0900 | [diff] [blame] | 57 | source "drivers/vhost/Kconfig" |
Wei Huang | 75755c6 | 2015-10-09 10:08:43 -0500 | [diff] [blame] | 58 | |
Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [diff] [blame] | 59 | endif # VIRTUALIZATION |