Merge tag 'mfd-for-linus-3.20' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd
[pandora-kernel.git] / arch / arm / kvm / Kconfig
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
23         select HAVE_KVM_CPU_RELAX_INTERCEPT
24         select HAVE_KVM_ARCH_TLB_FLUSH_ALL
25         select KVM_MMIO
26         select KVM_ARM_HOST
27         select KVM_GENERIC_DIRTYLOG_READ_PROTECT
28         select SRCU
29         depends on ARM_VIRT_EXT && ARM_LPAE
30         ---help---
31           Support hosting virtualized guest machines. You will also
32           need to select one or more of the processor modules below.
33
34           This module provides access to the hardware capabilities through
35           a character device node named /dev/kvm.
36
37           If unsure, say N.
38
39 config KVM_ARM_HOST
40         bool "KVM host support for ARM cpus."
41         depends on KVM
42         depends on MMU
43         select  MMU_NOTIFIER
44         ---help---
45           Provides host support for ARM processors.
46
47 config KVM_ARM_MAX_VCPUS
48         int "Number maximum supported virtual CPUs per VM"
49         depends on KVM_ARM_HOST
50         default 4
51         help
52           Static number of max supported virtual CPUs per VM.
53
54           If you choose a high number, the vcpu structures will be quite
55           large, so only choose a reasonable number that you expect to
56           actually use.
57
58 config KVM_ARM_VGIC
59         bool "KVM support for Virtual GIC"
60         depends on KVM_ARM_HOST && OF
61         select HAVE_KVM_IRQCHIP
62         default y
63         ---help---
64           Adds support for a hardware assisted, in-kernel GIC emulation.
65
66 config KVM_ARM_TIMER
67         bool "KVM support for Architected Timers"
68         depends on KVM_ARM_VGIC && ARM_ARCH_TIMER
69         select HAVE_KVM_IRQCHIP
70         default y
71         ---help---
72           Adds support for the Architected Timers in virtual machines
73
74 endif # VIRTUALIZATION