Marc Zyngier | c3eb5b1 | 2013-07-04 13:34:32 +0100 | [diff] [blame] | 1 | # |
| 2 | # KVM configuration |
| 3 | # |
| 4 | |
| 5 | source "virt/kvm/Kconfig" |
| 6 | |
| 7 | menuconfig 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 | |
| 17 | if VIRTUALIZATION |
| 18 | |
| 19 | config KVM |
| 20 | bool "Kernel-based Virtual Machine (KVM) support" |
Christoffer Dall | 662d971 | 2015-03-11 14:21:31 +0100 | [diff] [blame] | 21 | depends on OF |
Marc Zyngier | c3eb5b1 | 2013-07-04 13:34:32 +0100 | [diff] [blame] | 22 | select MMU_NOTIFIER |
| 23 | select PREEMPT_NOTIFIERS |
| 24 | select ANON_INODES |
Marc Zyngier | d241aac | 2013-08-02 11:41:13 +0100 | [diff] [blame] | 25 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
Mario Smarduch | 7276030 | 2015-01-15 15:59:01 -0800 | [diff] [blame] | 26 | select HAVE_KVM_ARCH_TLB_FLUSH_ALL |
Marc Zyngier | c3eb5b1 | 2013-07-04 13:34:32 +0100 | [diff] [blame] | 27 | select KVM_MMIO |
| 28 | select KVM_ARM_HOST |
Mario Smarduch | 7276030 | 2015-01-15 15:59:01 -0800 | [diff] [blame] | 29 | select KVM_GENERIC_DIRTYLOG_READ_PROTECT |
Pranith Kumar | 83fe27e | 2014-12-05 11:24:45 -0500 | [diff] [blame] | 30 | select SRCU |
Kim Phillips | 8889583 | 2015-06-05 16:21:49 +0100 | [diff] [blame] | 31 | select KVM_VFIO |
Eric Auger | 174178f | 2015-03-04 11:14:36 +0100 | [diff] [blame] | 32 | select HAVE_KVM_EVENTFD |
| 33 | select HAVE_KVM_IRQFD |
Shannon Zhao | 04fe472 | 2015-09-11 09:38:32 +0800 | [diff] [blame] | 34 | select KVM_ARM_PMU if HW_PERF_EVENTS |
Andre Przywara | 0e4e82f | 2016-07-15 12:43:38 +0100 | [diff] [blame] | 35 | select HAVE_KVM_MSI |
Eric Auger | 180ae7b | 2016-07-22 16:20:41 +0000 | [diff] [blame] | 36 | select HAVE_KVM_IRQCHIP |
| 37 | select HAVE_KVM_IRQ_ROUTING |
Marc Zyngier | c3eb5b1 | 2013-07-04 13:34:32 +0100 | [diff] [blame] | 38 | ---help--- |
| 39 | Support hosting virtualized guest machines. |
Suzuki K. Poulose | 44eaacf | 2015-10-19 14:19:37 +0100 | [diff] [blame] | 40 | We don't support KVM with 16K page tables yet, due to the multiple |
| 41 | levels of fake page tables. |
Marc Zyngier | c3eb5b1 | 2013-07-04 13:34:32 +0100 | [diff] [blame] | 42 | |
| 43 | If unsure, say N. |
| 44 | |
| 45 | config KVM_ARM_HOST |
| 46 | bool |
| 47 | ---help--- |
| 48 | Provides host support for ARM processors. |
| 49 | |
Shannon Zhao | 04fe472 | 2015-09-11 09:38:32 +0800 | [diff] [blame] | 50 | config KVM_ARM_PMU |
| 51 | bool |
| 52 | ---help--- |
| 53 | Adds support for a virtual Performance Monitoring Unit (PMU) in |
| 54 | virtual machines. |
| 55 | |
Wei Huang | 75755c6 | 2015-10-09 10:08:43 -0500 | [diff] [blame] | 56 | source drivers/vhost/Kconfig |
| 57 | |
Marc Zyngier | c3eb5b1 | 2013-07-04 13:34:32 +0100 | [diff] [blame] | 58 | endif # VIRTUALIZATION |