File tree Expand file tree Collapse file tree 11 files changed +23
-37
lines changed Expand file tree Collapse file tree 11 files changed +23
-37
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,4 @@ config KVM_ARM_HOST
54
54
---help---
55
55
Provides host support for ARM processors.
56
56
57
- source "drivers/vhost/Kconfig"
58
-
59
57
endif # VIRTUALIZATION
Original file line number Diff line number Diff line change @@ -64,6 +64,4 @@ config KVM_ARM_PMU
64
64
config KVM_INDIRECT_VECTORS
65
65
def_bool KVM && (HARDEN_BRANCH_PREDICTOR || HARDEN_EL2_VECTORS)
66
66
67
- source "drivers/vhost/Kconfig"
68
-
69
67
endif # VIRTUALIZATION
Original file line number Diff line number Diff line change @@ -72,6 +72,4 @@ config KVM_MIPS_DEBUG_COP0_COUNTERS
72
72
73
73
If unsure, say N.
74
74
75
- source "drivers/vhost/Kconfig"
76
-
77
75
endif # VIRTUALIZATION
Original file line number Diff line number Diff line change @@ -204,6 +204,4 @@ config KVM_XIVE
204
204
default y
205
205
depends on KVM_XICS && PPC_XIVE_NATIVE && KVM_BOOK3S_HV_POSSIBLE
206
206
207
- source "drivers/vhost/Kconfig"
208
-
209
207
endif # VIRTUALIZATION
Original file line number Diff line number Diff line change @@ -55,8 +55,4 @@ config KVM_S390_UCONTROL
55
55
56
56
If unsure, say N.
57
57
58
- # OK, it's a little counter-intuitive to do this, but it puts it neatly under
59
- # the virtualization menu.
60
- source "drivers/vhost/Kconfig"
61
-
62
58
endif # VIRTUALIZATION
Original file line number Diff line number Diff line change @@ -107,8 +107,4 @@ config KVM_MMU_AUDIT
107
107
This option adds a R/W kVM module parameter 'mmu_audit', which allows
108
108
auditing of KVM MMU events at runtime.
109
109
110
- # OK, it's a little counter-intuitive to do this, but it puts it neatly under
111
- # the virtualization menu.
112
- source "drivers/vhost/Kconfig"
113
-
114
110
endif # VIRTUALIZATION
Original file line number Diff line number Diff line change @@ -138,6 +138,8 @@ source "drivers/virt/Kconfig"
138
138
139
139
source "drivers/virtio/Kconfig"
140
140
141
+ source "drivers/vhost/Kconfig"
142
+
141
143
source "drivers/hv/Kconfig"
142
144
143
145
source "drivers/xen/Kconfig"
Original file line number Diff line number Diff line change @@ -133,8 +133,4 @@ config VOP
133
133
OS and tools for MIC to use with this driver are available from
134
134
<http://software.intel.com/en-us/mic-developer>.
135
135
136
- if VOP
137
- source "drivers/vhost/Kconfig.vringh"
138
- endif
139
-
140
136
endmenu
Original file line number Diff line number Diff line change @@ -58,8 +58,4 @@ config CAIF_VIRTIO
58
58
---help---
59
59
The CAIF driver for CAIF over Virtio.
60
60
61
- if CAIF_VIRTIO
62
- source "drivers/vhost/Kconfig.vringh"
63
- endif
64
-
65
61
endif # CAIF_DRIVERS
Original file line number Diff line number Diff line change 1
1
# SPDX-License-Identifier: GPL-2.0-only
2
+ config VHOST_RING
3
+ tristate
4
+ help
5
+ This option is selected by any driver which needs to access
6
+ the host side of a virtio ring.
7
+
8
+ config VHOST
9
+ tristate
10
+ select VHOST_IOTLB
11
+ help
12
+ This option is selected by any driver which needs to access
13
+ the core of vhost.
14
+
15
+ menuconfig VHOST_MENU
16
+ bool "VHOST drivers"
17
+ default y
18
+
19
+ if VHOST_MENU
20
+
2
21
config VHOST_NET
3
22
tristate "Host kernel accelerator for virtio net"
4
23
depends on NET && EVENTFD && (TUN || !TUN) && (TAP || !TAP)
@@ -23,8 +42,8 @@ config VHOST_SCSI
23
42
config VHOST_VSOCK
24
43
tristate "vhost virtio-vsock driver"
25
44
depends on VSOCKETS && EVENTFD
26
- select VIRTIO_VSOCKETS_COMMON
27
45
select VHOST
46
+ select VIRTIO_VSOCKETS_COMMON
28
47
default n
29
48
---help---
30
49
This kernel module can be loaded in the host kernel to provide AF_VSOCK
@@ -34,12 +53,6 @@ config VHOST_VSOCK
34
53
To compile this driver as a module, choose M here: the module will be called
35
54
vhost_vsock.
36
55
37
- config VHOST
38
- tristate
39
- ---help---
40
- This option is selected by any driver which needs to access
41
- the core of vhost.
42
-
43
56
config VHOST_CROSS_ENDIAN_LEGACY
44
57
bool "Cross-endian support for vhost"
45
58
default n
@@ -54,3 +67,4 @@ config VHOST_CROSS_ENDIAN_LEGACY
54
67
adds some overhead, it is disabled by default.
55
68
56
69
If unsure, say "N".
70
+ endif
You can’t perform that action at this time.
0 commit comments