File tree Expand file tree Collapse file tree 4 files changed +44
-0
lines changed Expand file tree Collapse file tree 4 files changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,20 @@ config VHOST_SCSI
19
19
Say M here to enable the vhost_scsi TCM fabric module
20
20
for use with virtio-scsi guests
21
21
22
+ config VHOST_VSOCK
23
+ tristate "vhost virtio-vsock driver"
24
+ depends on VSOCKETS && EVENTFD
25
+ select VIRTIO_VSOCKETS_COMMON
26
+ select VHOST
27
+ default n
28
+ ---help---
29
+ This kernel module can be loaded in the host kernel to provide AF_VSOCK
30
+ sockets for communicating with guests. The guests must have the
31
+ virtio_transport.ko driver loaded to use the virtio-vsock device.
32
+
33
+ To compile this driver as a module, choose M here: the module will be called
34
+ vhost_vsock.
35
+
22
36
config VHOST_RING
23
37
tristate
24
38
---help---
Original file line number Diff line number Diff line change @@ -4,5 +4,9 @@ vhost_net-y := net.o
4
4
obj-$(CONFIG_VHOST_SCSI) += vhost_scsi.o
5
5
vhost_scsi-y := scsi.o
6
6
7
+ obj-$(CONFIG_VHOST_VSOCK) += vhost_vsock.o
8
+ vhost_vsock-y := vsock.o
9
+
7
10
obj-$(CONFIG_VHOST_RING) += vringh.o
11
+
8
12
obj-$(CONFIG_VHOST) += vhost.o
Original file line number Diff line number Diff line change @@ -26,3 +26,23 @@ config VMWARE_VMCI_VSOCKETS
26
26
27
27
To compile this driver as a module, choose M here: the module
28
28
will be called vmw_vsock_vmci_transport. If unsure, say N.
29
+
30
+ config VIRTIO_VSOCKETS
31
+ tristate "virtio transport for Virtual Sockets"
32
+ depends on VSOCKETS && VIRTIO
33
+ select VIRTIO_VSOCKETS_COMMON
34
+ help
35
+ This module implements a virtio transport for Virtual Sockets.
36
+
37
+ Enable this transport if your Virtual Machine host supports Virtual
38
+ Sockets over virtio.
39
+
40
+ To compile this driver as a module, choose M here: the module will be
41
+ called vmw_vsock_virtio_transport. If unsure, say N.
42
+
43
+ config VIRTIO_VSOCKETS_COMMON
44
+ tristate
45
+ help
46
+ This option is selected by any driver which needs to access
47
+ the virtio_vsock. The module will be called
48
+ vmw_vsock_virtio_transport_common.
Original file line number Diff line number Diff line change 1
1
obj-$(CONFIG_VSOCKETS) += vsock.o
2
2
obj-$(CONFIG_VMWARE_VMCI_VSOCKETS) += vmw_vsock_vmci_transport.o
3
+ obj-$(CONFIG_VIRTIO_VSOCKETS) += vmw_vsock_virtio_transport.o
4
+ obj-$(CONFIG_VIRTIO_VSOCKETS_COMMON) += vmw_vsock_virtio_transport_common.o
3
5
4
6
vsock-y += af_vsock.o vsock_addr.o
5
7
6
8
vmw_vsock_vmci_transport-y += vmci_transport.o vmci_transport_notify.o \
7
9
vmci_transport_notify_qstate.o
10
+
11
+ vmw_vsock_virtio_transport-y += virtio_transport.o
12
+
13
+ vmw_vsock_virtio_transport_common-y += virtio_transport_common.o
You can’t perform that action at this time.
0 commit comments