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