.. | .. |
---|
3 | 3 | # KVM configuration |
---|
4 | 4 | # |
---|
5 | 5 | |
---|
6 | | -source "virt/kvm/Kconfig" |
---|
7 | 6 | source "virt/lib/Kconfig" |
---|
8 | 7 | |
---|
9 | 8 | menuconfig VIRTUALIZATION |
---|
10 | 9 | bool "Virtualization" |
---|
11 | | - ---help--- |
---|
| 10 | + help |
---|
12 | 11 | Say Y here to get to see options for using your Linux host to run |
---|
13 | 12 | other operating systems inside virtual machines (guests). |
---|
14 | 13 | This option alone does not add any kernel code. |
---|
.. | .. |
---|
18 | 17 | |
---|
19 | 18 | if VIRTUALIZATION |
---|
20 | 19 | |
---|
21 | | -config KVM |
---|
| 20 | +menuconfig KVM |
---|
22 | 21 | bool "Kernel-based Virtual Machine (KVM) support" |
---|
23 | 22 | depends on OF |
---|
| 23 | + # for TASKSTATS/TASK_DELAY_ACCT: |
---|
| 24 | + depends on NET && MULTIUSER |
---|
24 | 25 | select MMU_NOTIFIER |
---|
25 | 26 | select PREEMPT_NOTIFIERS |
---|
26 | 27 | select HAVE_KVM_CPU_RELAX_INTERCEPT |
---|
27 | 28 | select HAVE_KVM_ARCH_TLB_FLUSH_ALL |
---|
28 | 29 | select KVM_MMIO |
---|
29 | | - select KVM_ARM_HOST |
---|
30 | 30 | select KVM_GENERIC_DIRTYLOG_READ_PROTECT |
---|
31 | 31 | select SRCU |
---|
32 | 32 | select KVM_VFIO |
---|
33 | 33 | select HAVE_KVM_EVENTFD |
---|
34 | 34 | select HAVE_KVM_IRQFD |
---|
35 | | - select KVM_ARM_PMU if HW_PERF_EVENTS |
---|
36 | 35 | select HAVE_KVM_MSI |
---|
37 | 36 | select HAVE_KVM_IRQCHIP |
---|
38 | 37 | select HAVE_KVM_IRQ_ROUTING |
---|
39 | 38 | select IRQ_BYPASS_MANAGER |
---|
40 | 39 | select HAVE_KVM_IRQ_BYPASS |
---|
41 | 40 | select HAVE_KVM_VCPU_RUN_PID_CHANGE |
---|
42 | | - ---help--- |
---|
| 41 | + select TASKSTATS |
---|
| 42 | + select TASK_DELAY_ACCT |
---|
| 43 | + help |
---|
43 | 44 | Support hosting virtualized guest machines. |
---|
44 | | - We don't support KVM with 16K page tables yet, due to the multiple |
---|
45 | | - levels of fake page tables. |
---|
46 | 45 | |
---|
47 | 46 | If unsure, say N. |
---|
48 | 47 | |
---|
49 | | -config KVM_ARM_HOST |
---|
50 | | - bool |
---|
51 | | - ---help--- |
---|
52 | | - Provides host support for ARM processors. |
---|
| 48 | +if KVM |
---|
53 | 49 | |
---|
54 | | -config KVM_ARM_PMU |
---|
55 | | - bool |
---|
56 | | - ---help--- |
---|
57 | | - Adds support for a virtual Performance Monitoring Unit (PMU) in |
---|
58 | | - virtual machines. |
---|
| 50 | +source "virt/kvm/Kconfig" |
---|
59 | 51 | |
---|
60 | | -config KVM_INDIRECT_VECTORS |
---|
61 | | - def_bool KVM && (HARDEN_BRANCH_PREDICTOR || HARDEN_EL2_VECTORS) |
---|
62 | | - |
---|
63 | | -source drivers/vhost/Kconfig |
---|
| 52 | +endif # KVM |
---|
64 | 53 | |
---|
65 | 54 | endif # VIRTUALIZATION |
---|