Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [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" |
| 21 | select PREEMPT_NOTIFIERS |
| 22 | select ANON_INODES |
Marc Zyngier | 58d5ec8 | 2013-10-08 18:38:13 +0100 | [diff] [blame] | 23 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
Mario Smarduch | 72fc36b | 2015-01-15 15:58:55 -0800 | [diff] [blame^] | 24 | select HAVE_KVM_ARCH_TLB_FLUSH_ALL |
Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [diff] [blame] | 25 | select KVM_MMIO |
| 26 | select KVM_ARM_HOST |
Victor Kamensky | f5aa462 | 2014-06-12 09:30:07 -0700 | [diff] [blame] | 27 | depends on ARM_VIRT_EXT && ARM_LPAE |
Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [diff] [blame] | 28 | ---help--- |
| 29 | Support hosting virtualized guest machines. You will also |
| 30 | need to select one or more of the processor modules below. |
| 31 | |
| 32 | This module provides access to the hardware capabilities through |
| 33 | a character device node named /dev/kvm. |
| 34 | |
| 35 | If unsure, say N. |
| 36 | |
| 37 | config KVM_ARM_HOST |
| 38 | bool "KVM host support for ARM cpus." |
| 39 | depends on KVM |
| 40 | depends on MMU |
Christoffer Dall | d5d8184 | 2013-01-20 18:28:07 -0500 | [diff] [blame] | 41 | select MMU_NOTIFIER |
Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [diff] [blame] | 42 | ---help--- |
| 43 | Provides host support for ARM processors. |
| 44 | |
| 45 | config KVM_ARM_MAX_VCPUS |
Geoff Levand | f2dda9d | 2013-06-06 18:02:54 -0700 | [diff] [blame] | 46 | int "Number maximum supported virtual CPUs per VM" |
| 47 | depends on KVM_ARM_HOST |
| 48 | default 4 |
Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [diff] [blame] | 49 | help |
| 50 | Static number of max supported virtual CPUs per VM. |
| 51 | |
| 52 | If you choose a high number, the vcpu structures will be quite |
| 53 | large, so only choose a reasonable number that you expect to |
| 54 | actually use. |
| 55 | |
Marc Zyngier | 75431f9 | 2013-01-21 19:36:16 -0500 | [diff] [blame] | 56 | config KVM_ARM_VGIC |
| 57 | bool "KVM support for Virtual GIC" |
| 58 | depends on KVM_ARM_HOST && OF |
| 59 | select HAVE_KVM_IRQCHIP |
| 60 | default y |
| 61 | ---help--- |
| 62 | Adds support for a hardware assisted, in-kernel GIC emulation. |
| 63 | |
Marc Zyngier | 967f842 | 2013-01-23 13:21:59 -0500 | [diff] [blame] | 64 | config KVM_ARM_TIMER |
| 65 | bool "KVM support for Architected Timers" |
| 66 | depends on KVM_ARM_VGIC && ARM_ARCH_TIMER |
| 67 | select HAVE_KVM_IRQCHIP |
| 68 | default y |
| 69 | ---help--- |
| 70 | Adds support for the Architected Timers in virtual machines |
| 71 | |
Christoffer Dall | 749cf76c | 2013-01-20 18:28:06 -0500 | [diff] [blame] | 72 | endif # VIRTUALIZATION |