Skip to content

Commit f48212e

Browse files
committed
treewide: remove CONFIG_HAVE_KVM
It has no users anymore. Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 09e33b0 commit f48212e

File tree

10 files changed

+0
-21
lines changed

10 files changed

+0
-21
lines changed

arch/arm64/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ config ARM64
216216
select HAVE_HW_BREAKPOINT if PERF_EVENTS
217217
select HAVE_IOREMAP_PROT
218218
select HAVE_IRQ_TIME_ACCOUNTING
219-
select HAVE_KVM
220219
select HAVE_MOD_ARCH_SPECIFIC
221220
select HAVE_NMI
222221
select HAVE_PERF_EVENTS

arch/arm64/kvm/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ if VIRTUALIZATION
2020

2121
menuconfig KVM
2222
bool "Kernel-based Virtual Machine (KVM) support"
23-
depends on HAVE_KVM
2423
select KVM_COMMON
2524
select KVM_GENERIC_HARDWARE_ENABLING
2625
select KVM_GENERIC_MMU_NOTIFIER

arch/loongarch/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ config LOONGARCH
133133
select HAVE_KPROBES
134134
select HAVE_KPROBES_ON_FTRACE
135135
select HAVE_KRETPROBES
136-
select HAVE_KVM
137136
select HAVE_MOD_ARCH_SPECIFIC
138137
select HAVE_NMI
139138
select HAVE_PCI

arch/loongarch/kvm/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ if VIRTUALIZATION
2020
config KVM
2121
tristate "Kernel-based Virtual Machine (KVM) support"
2222
depends on AS_HAS_LVZ_EXTENSION
23-
depends on HAVE_KVM
2423
select HAVE_KVM_DIRTY_RING_ACQ_REL
2524
select HAVE_KVM_VCPU_ASYNC_IOCTL
2625
select KVM_COMMON

arch/mips/Kconfig

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,6 @@ config CPU_LOONGSON64
12621262
select MIPS_FP_SUPPORT
12631263
select GPIOLIB
12641264
select SWIOTLB
1265-
select HAVE_KVM
12661265
help
12671266
The Loongson GSx64(GS264/GS464/GS464E/GS464V) series of processor
12681267
cores implements the MIPS64R2 instruction set with many extensions,
@@ -1375,7 +1374,6 @@ config CPU_MIPS32_R2
13751374
select CPU_SUPPORTS_32BIT_KERNEL
13761375
select CPU_SUPPORTS_HIGHMEM
13771376
select CPU_SUPPORTS_MSA
1378-
select HAVE_KVM
13791377
help
13801378
Choose this option to build a kernel for release 2 or later of the
13811379
MIPS32 architecture. Most modern embedded systems with a 32-bit
@@ -1391,7 +1389,6 @@ config CPU_MIPS32_R5
13911389
select CPU_SUPPORTS_HIGHMEM
13921390
select CPU_SUPPORTS_MSA
13931391
select CPU_SUPPORTS_VZ
1394-
select HAVE_KVM
13951392
select MIPS_O32_FP64_SUPPORT
13961393
help
13971394
Choose this option to build a kernel for release 5 or later of the
@@ -1408,7 +1405,6 @@ config CPU_MIPS32_R6
14081405
select CPU_SUPPORTS_HIGHMEM
14091406
select CPU_SUPPORTS_MSA
14101407
select CPU_SUPPORTS_VZ
1411-
select HAVE_KVM
14121408
select MIPS_O32_FP64_SUPPORT
14131409
help
14141410
Choose this option to build a kernel for release 6 or later of the
@@ -1444,7 +1440,6 @@ config CPU_MIPS64_R2
14441440
select CPU_SUPPORTS_HIGHMEM
14451441
select CPU_SUPPORTS_HUGEPAGES
14461442
select CPU_SUPPORTS_MSA
1447-
select HAVE_KVM
14481443
help
14491444
Choose this option to build a kernel for release 2 or later of the
14501445
MIPS64 architecture. Many modern embedded systems with a 64-bit
@@ -1463,7 +1458,6 @@ config CPU_MIPS64_R5
14631458
select CPU_SUPPORTS_MSA
14641459
select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32
14651460
select CPU_SUPPORTS_VZ
1466-
select HAVE_KVM
14671461
help
14681462
Choose this option to build a kernel for release 5 or later of the
14691463
MIPS64 architecture. This is a intermediate MIPS architecture
@@ -1482,7 +1476,6 @@ config CPU_MIPS64_R6
14821476
select CPU_SUPPORTS_MSA
14831477
select MIPS_O32_FP64_SUPPORT if 32BIT || MIPS32_O32
14841478
select CPU_SUPPORTS_VZ
1485-
select HAVE_KVM
14861479
help
14871480
Choose this option to build a kernel for release 6 or later of the
14881481
MIPS64 architecture. New MIPS processors, starting with the Warrior
@@ -1500,7 +1493,6 @@ config CPU_P5600
15001493
select CPU_SUPPORTS_VZ
15011494
select CPU_MIPSR2_IRQ_VI
15021495
select CPU_MIPSR2_IRQ_EI
1503-
select HAVE_KVM
15041496
select MIPS_O32_FP64_SUPPORT
15051497
help
15061498
Choose this option to build a kernel for MIPS Warrior P5600 CPU.
@@ -1621,7 +1613,6 @@ config CPU_CAVIUM_OCTEON
16211613
select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
16221614
select MIPS_L1_CACHE_SHIFT_7
16231615
select CPU_SUPPORTS_VZ
1624-
select HAVE_KVM
16251616
help
16261617
The Cavium Octeon processor is a highly integrated chip containing
16271618
many ethernet hardware widgets for networking tasks. The processor

arch/s390/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ config S390
193193
select HAVE_KPROBES
194194
select HAVE_KPROBES_ON_FTRACE
195195
select HAVE_KRETPROBES
196-
select HAVE_KVM
197196
select HAVE_LIVEPATCH
198197
select HAVE_MEMBLOCK_PHYS_MAP
199198
select HAVE_MOD_ARCH_SPECIFIC

arch/s390/kvm/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ if VIRTUALIZATION
1919
config KVM
2020
def_tristate y
2121
prompt "Kernel-based Virtual Machine (KVM) support"
22-
depends on HAVE_KVM
2322
select HAVE_KVM_CPU_RELAX_INTERCEPT
2423
select HAVE_KVM_VCPU_ASYNC_IOCTL
2524
select KVM_ASYNC_PF

arch/x86/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ config X86
244244
select HAVE_FUNCTION_ERROR_INJECTION
245245
select HAVE_KRETPROBES
246246
select HAVE_RETHOOK
247-
select HAVE_KVM
248247
select HAVE_LIVEPATCH if X86_64
249248
select HAVE_MIXED_BREAKPOINTS_REGS
250249
select HAVE_MOD_ARCH_SPECIFIC

arch/x86/kvm/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ source "virt/kvm/Kconfig"
77

88
menuconfig VIRTUALIZATION
99
bool "Virtualization"
10-
depends on HAVE_KVM || X86
1110
default y
1211
help
1312
Say Y here to get to see options for using your Linux host to run other
@@ -20,7 +19,6 @@ if VIRTUALIZATION
2019

2120
config KVM
2221
tristate "Kernel-based Virtual Machine (KVM) support"
23-
depends on HAVE_KVM
2422
depends on HIGH_RES_TIMERS
2523
depends on X86_LOCAL_APIC
2624
select KVM_COMMON

virt/kvm/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0
22
# KVM common configuration items and defaults
33

4-
config HAVE_KVM
5-
bool
6-
74
config KVM_COMMON
85
bool
96
select EVENTFD

0 commit comments

Comments
 (0)