Commit | Line | Data |
---|---|---|
c3eb5b14 MZ |
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 MMU_NOTIFIER | |
22 | select PREEMPT_NOTIFIERS | |
23 | select ANON_INODES | |
d241aac7 | 24 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
c3eb5b14 MZ |
25 | select KVM_MMIO |
26 | select KVM_ARM_HOST | |
27 | select KVM_ARM_VGIC | |
28 | select KVM_ARM_TIMER | |
29 | ---help--- | |
30 | Support hosting virtualized guest machines. | |
31 | ||
32 | If unsure, say N. | |
33 | ||
34 | config KVM_ARM_HOST | |
35 | bool | |
36 | ---help--- | |
37 | Provides host support for ARM processors. | |
38 | ||
da781470 AP |
39 | config KVM_ARM_MAX_VCPUS |
40 | int "Number maximum supported virtual CPUs per VM" | |
41 | depends on KVM_ARM_HOST | |
42 | default 4 | |
43 | help | |
44 | Static number of max supported virtual CPUs per VM. | |
45 | ||
46 | If you choose a high number, the vcpu structures will be quite | |
47 | large, so only choose a reasonable number that you expect to | |
48 | actually use. | |
49 | ||
c3eb5b14 MZ |
50 | config KVM_ARM_VGIC |
51 | bool | |
52 | depends on KVM_ARM_HOST && OF | |
53 | select HAVE_KVM_IRQCHIP | |
54 | ---help--- | |
55 | Adds support for a hardware assisted, in-kernel GIC emulation. | |
56 | ||
57 | config KVM_ARM_TIMER | |
58 | bool | |
59 | depends on KVM_ARM_VGIC | |
60 | ---help--- | |
61 | Adds support for the Architected Timers in virtual machines. | |
62 | ||
63 | endif # VIRTUALIZATION |