hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm64/kvm/Kconfig
....@@ -3,12 +3,11 @@
33 # KVM configuration
44 #
55
6
-source "virt/kvm/Kconfig"
76 source "virt/lib/Kconfig"
87
98 menuconfig VIRTUALIZATION
109 bool "Virtualization"
11
- ---help---
10
+ help
1211 Say Y here to get to see options for using your Linux host to run
1312 other operating systems inside virtual machines (guests).
1413 This option alone does not add any kernel code.
....@@ -18,48 +17,38 @@
1817
1918 if VIRTUALIZATION
2019
21
-config KVM
20
+menuconfig KVM
2221 bool "Kernel-based Virtual Machine (KVM) support"
2322 depends on OF
23
+ # for TASKSTATS/TASK_DELAY_ACCT:
24
+ depends on NET && MULTIUSER
2425 select MMU_NOTIFIER
2526 select PREEMPT_NOTIFIERS
2627 select HAVE_KVM_CPU_RELAX_INTERCEPT
2728 select HAVE_KVM_ARCH_TLB_FLUSH_ALL
2829 select KVM_MMIO
29
- select KVM_ARM_HOST
3030 select KVM_GENERIC_DIRTYLOG_READ_PROTECT
3131 select SRCU
3232 select KVM_VFIO
3333 select HAVE_KVM_EVENTFD
3434 select HAVE_KVM_IRQFD
35
- select KVM_ARM_PMU if HW_PERF_EVENTS
3635 select HAVE_KVM_MSI
3736 select HAVE_KVM_IRQCHIP
3837 select HAVE_KVM_IRQ_ROUTING
3938 select IRQ_BYPASS_MANAGER
4039 select HAVE_KVM_IRQ_BYPASS
4140 select HAVE_KVM_VCPU_RUN_PID_CHANGE
42
- ---help---
41
+ select TASKSTATS
42
+ select TASK_DELAY_ACCT
43
+ help
4344 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.
4645
4746 If unsure, say N.
4847
49
-config KVM_ARM_HOST
50
- bool
51
- ---help---
52
- Provides host support for ARM processors.
48
+if KVM
5349
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"
5951
60
-config KVM_INDIRECT_VECTORS
61
- def_bool KVM && (HARDEN_BRANCH_PREDICTOR || HARDEN_EL2_VECTORS)
62
-
63
-source drivers/vhost/Kconfig
52
+endif # KVM
6453
6554 endif # VIRTUALIZATION