You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
VSOCK: Add Makefile and Kconfig
Enable virtio-vsock and vhost-vsock. Signed-off-by: Asias He <asias@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
committed by
Michael S. Tsirkin
parent
433fc58e6b
commit
304ba62fd4
@@ -26,3 +26,23 @@ config VMWARE_VMCI_VSOCKETS
|
||||
|
||||
To compile this driver as a module, choose M here: the module
|
||||
will be called vmw_vsock_vmci_transport. If unsure, say N.
|
||||
|
||||
config VIRTIO_VSOCKETS
|
||||
tristate "virtio transport for Virtual Sockets"
|
||||
depends on VSOCKETS && VIRTIO
|
||||
select VIRTIO_VSOCKETS_COMMON
|
||||
help
|
||||
This module implements a virtio transport for Virtual Sockets.
|
||||
|
||||
Enable this transport if your Virtual Machine host supports Virtual
|
||||
Sockets over virtio.
|
||||
|
||||
To compile this driver as a module, choose M here: the module will be
|
||||
called vmw_vsock_virtio_transport. If unsure, say N.
|
||||
|
||||
config VIRTIO_VSOCKETS_COMMON
|
||||
tristate
|
||||
help
|
||||
This option is selected by any driver which needs to access
|
||||
the virtio_vsock. The module will be called
|
||||
vmw_vsock_virtio_transport_common.
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
obj-$(CONFIG_VSOCKETS) += vsock.o
|
||||
obj-$(CONFIG_VMWARE_VMCI_VSOCKETS) += vmw_vsock_vmci_transport.o
|
||||
obj-$(CONFIG_VIRTIO_VSOCKETS) += vmw_vsock_virtio_transport.o
|
||||
obj-$(CONFIG_VIRTIO_VSOCKETS_COMMON) += vmw_vsock_virtio_transport_common.o
|
||||
|
||||
vsock-y += af_vsock.o vsock_addr.o
|
||||
|
||||
vmw_vsock_vmci_transport-y += vmci_transport.o vmci_transport_notify.o \
|
||||
vmci_transport_notify_qstate.o
|
||||
|
||||
vmw_vsock_virtio_transport-y += virtio_transport.o
|
||||
|
||||
vmw_vsock_virtio_transport_common-y += virtio_transport_common.o
|
||||
|
||||
Reference in New Issue
Block a user