blob: 1a326b5326c3f76b6446bc6504311cc9982e7b8d [file] [log] [blame]
Christoffer Dall749cf76c2013-01-20 18:28:06 -05001#
2# KVM configuration
3#
4
5source "virt/kvm/Kconfig"
6
7menuconfig 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
17if VIRTUALIZATION
18
19config KVM
20 bool "Kernel-based Virtual Machine (KVM) support"
Christoffer Dall662d9712015-03-11 14:21:31 +010021 depends on MMU && OF
Christoffer Dall749cf76c2013-01-20 18:28:06 -050022 select PREEMPT_NOTIFIERS
Arnd Bergmann4a5d69b2015-10-12 15:22:31 +020023 select ARM_GIC
Marc Zyngier58d5ec82013-10-08 18:38:13 +010024 select HAVE_KVM_CPU_RELAX_INTERCEPT
Mario Smarduch72fc36b2015-01-15 15:58:55 -080025 select HAVE_KVM_ARCH_TLB_FLUSH_ALL
Christoffer Dall749cf76c2013-01-20 18:28:06 -050026 select KVM_MMIO
27 select KVM_ARM_HOST
Mario Smarduch53c810c2015-01-15 15:58:57 -080028 select KVM_GENERIC_DIRTYLOG_READ_PROTECT
Pranith Kumar83fe27e2014-12-05 11:24:45 -050029 select SRCU
Christoffer Dall662d9712015-03-11 14:21:31 +010030 select MMU_NOTIFIER
Kim Phillips88895832015-06-05 16:21:49 +010031 select KVM_VFIO
Eric Auger174178f2015-03-04 11:14:36 +010032 select HAVE_KVM_EVENTFD
33 select HAVE_KVM_IRQFD
Eric Auger180ae7b2016-07-22 16:20:41 +000034 select HAVE_KVM_IRQCHIP
35 select HAVE_KVM_IRQ_ROUTING
Christoffer Dall662d9712015-03-11 14:21:31 +010036 depends on ARM_VIRT_EXT && ARM_LPAE && ARM_ARCH_TIMER
Christoffer Dall749cf76c2013-01-20 18:28:06 -050037 ---help---
Christoffer Dall662d9712015-03-11 14:21:31 +010038 Support hosting virtualized guest machines.
Christoffer Dall749cf76c2013-01-20 18:28:06 -050039
40 This module provides access to the hardware capabilities through
41 a character device node named /dev/kvm.
42
43 If unsure, say N.
44
45config KVM_ARM_HOST
Christoffer Dall662d9712015-03-11 14:21:31 +010046 bool
Christoffer Dall749cf76c2013-01-20 18:28:06 -050047 ---help---
48 Provides host support for ARM processors.
49
Wei Huang75755c62015-10-09 10:08:43 -050050source drivers/vhost/Kconfig
51
Christoffer Dall749cf76c2013-01-20 18:28:06 -050052endif # VIRTUALIZATION