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" | |
662d9715 | 21 | depends on MMU && OF |
749cf76c CD |
22 | select PREEMPT_NOTIFIERS |
23 | select ANON_INODES | |
58d5ec8f | 24 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
72fc36b6 | 25 | select HAVE_KVM_ARCH_TLB_FLUSH_ALL |
749cf76c CD |
26 | select KVM_MMIO |
27 | select KVM_ARM_HOST | |
53c810c3 | 28 | select KVM_GENERIC_DIRTYLOG_READ_PROTECT |
83fe27ea | 29 | select SRCU |
662d9715 CD |
30 | select MMU_NOTIFIER |
31 | select HAVE_KVM_IRQCHIP | |
32 | depends on ARM_VIRT_EXT && ARM_LPAE && ARM_ARCH_TIMER | |
749cf76c | 33 | ---help--- |
662d9715 | 34 | Support hosting virtualized guest machines. |
749cf76c CD |
35 | |
36 | This module provides access to the hardware capabilities through | |
37 | a character device node named /dev/kvm. | |
38 | ||
39 | If unsure, say N. | |
40 | ||
41 | config KVM_ARM_HOST | |
662d9715 | 42 | bool |
749cf76c CD |
43 | ---help--- |
44 | Provides host support for ARM processors. | |
45 | ||
46 | config KVM_ARM_MAX_VCPUS | |
f2dda9d8 GL |
47 | int "Number maximum supported virtual CPUs per VM" |
48 | depends on KVM_ARM_HOST | |
49 | default 4 | |
749cf76c CD |
50 | help |
51 | Static number of max supported virtual CPUs per VM. | |
52 | ||
53 | If you choose a high number, the vcpu structures will be quite | |
54 | large, so only choose a reasonable number that you expect to | |
55 | actually use. | |
56 | ||
749cf76c | 57 | endif # VIRTUALIZATION |