blob: 6eaf12c1d627ac818e69b4eca988c7131b930fee [file] [log] [blame]
Marc Zyngierc3eb5b12013-07-04 13:34:32 +01001#
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
Vladimir Murzin7a1ff702016-09-12 15:49:18 +010019config KVM_ARM_VGIC_V3_ITS
20 bool
21
Marc Zyngierc3eb5b12013-07-04 13:34:32 +010022config KVM
23 bool "Kernel-based Virtual Machine (KVM) support"
Christoffer Dall662d9712015-03-11 14:21:31 +010024 depends on OF
Marc Zyngierc3eb5b12013-07-04 13:34:32 +010025 select MMU_NOTIFIER
26 select PREEMPT_NOTIFIERS
27 select ANON_INODES
Marc Zyngierd241aac2013-08-02 11:41:13 +010028 select HAVE_KVM_CPU_RELAX_INTERCEPT
Mario Smarduch72760302015-01-15 15:59:01 -080029 select HAVE_KVM_ARCH_TLB_FLUSH_ALL
Marc Zyngierc3eb5b12013-07-04 13:34:32 +010030 select KVM_MMIO
31 select KVM_ARM_HOST
Mario Smarduch72760302015-01-15 15:59:01 -080032 select KVM_GENERIC_DIRTYLOG_READ_PROTECT
Pranith Kumar83fe27e2014-12-05 11:24:45 -050033 select SRCU
Kim Phillips88895832015-06-05 16:21:49 +010034 select KVM_VFIO
Eric Auger174178f2015-03-04 11:14:36 +010035 select HAVE_KVM_EVENTFD
36 select HAVE_KVM_IRQFD
Vladimir Murzin7a1ff702016-09-12 15:49:18 +010037 select KVM_ARM_VGIC_V3_ITS
Shannon Zhao04fe4722015-09-11 09:38:32 +080038 select KVM_ARM_PMU if HW_PERF_EVENTS
Andre Przywara0e4e82f2016-07-15 12:43:38 +010039 select HAVE_KVM_MSI
Eric Auger180ae7b2016-07-22 16:20:41 +000040 select HAVE_KVM_IRQCHIP
41 select HAVE_KVM_IRQ_ROUTING
Marc Zyngierc3eb5b12013-07-04 13:34:32 +010042 ---help---
43 Support hosting virtualized guest machines.
Suzuki K. Poulose44eaacf2015-10-19 14:19:37 +010044 We don't support KVM with 16K page tables yet, due to the multiple
45 levels of fake page tables.
Marc Zyngierc3eb5b12013-07-04 13:34:32 +010046
47 If unsure, say N.
48
49config KVM_ARM_HOST
50 bool
51 ---help---
52 Provides host support for ARM processors.
53
Shannon Zhao04fe4722015-09-11 09:38:32 +080054config KVM_ARM_PMU
55 bool
56 ---help---
57 Adds support for a virtual Performance Monitoring Unit (PMU) in
58 virtual machines.
59
Wei Huang75755c62015-10-09 10:08:43 -050060source drivers/vhost/Kconfig
61
Marc Zyngierc3eb5b12013-07-04 13:34:32 +010062endif # VIRTUALIZATION