blob: a5272c07d1cbf3f72a0689ecc06e07b3aed4161b [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
Jean-Philippe Brucker4f64cb62015-10-01 13:47:19 +010019config KVM_ARM_VGIC_V3
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
Suzuki K. Poulose44eaacf2015-10-19 14:19:37 +010025 depends on !ARM64_16K_PAGES
Marc Zyngierc3eb5b12013-07-04 13:34:32 +010026 select MMU_NOTIFIER
27 select PREEMPT_NOTIFIERS
28 select ANON_INODES
Marc Zyngierd241aac2013-08-02 11:41:13 +010029 select HAVE_KVM_CPU_RELAX_INTERCEPT
Mario Smarduch72760302015-01-15 15:59:01 -080030 select HAVE_KVM_ARCH_TLB_FLUSH_ALL
Marc Zyngierc3eb5b12013-07-04 13:34:32 +010031 select KVM_MMIO
32 select KVM_ARM_HOST
Mario Smarduch72760302015-01-15 15:59:01 -080033 select KVM_GENERIC_DIRTYLOG_READ_PROTECT
Pranith Kumar83fe27e2014-12-05 11:24:45 -050034 select SRCU
Kim Phillips88895832015-06-05 16:21:49 +010035 select KVM_VFIO
Eric Auger174178f2015-03-04 11:14:36 +010036 select HAVE_KVM_EVENTFD
37 select HAVE_KVM_IRQFD
Jean-Philippe Brucker4f64cb62015-10-01 13:47:19 +010038 select KVM_ARM_VGIC_V3
Marc Zyngierc3eb5b12013-07-04 13:34:32 +010039 ---help---
40 Support hosting virtualized guest machines.
Suzuki K. Poulose44eaacf2015-10-19 14:19:37 +010041 We don't support KVM with 16K page tables yet, due to the multiple
42 levels of fake page tables.
Marc Zyngierc3eb5b12013-07-04 13:34:32 +010043
44 If unsure, say N.
45
46config KVM_ARM_HOST
47 bool
48 ---help---
49 Provides host support for ARM processors.
50
Wei Huang75755c62015-10-09 10:08:43 -050051source drivers/vhost/Kconfig
52
Marc Zyngierc3eb5b12013-07-04 13:34:32 +010053endif # VIRTUALIZATION