^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # Vsock protocol
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) config VSOCKETS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) tristate "Virtual Socket protocol"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Virtual Socket Protocol is a socket protocol similar to TCP/IP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) allowing communication between Virtual Machines and hypervisor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) or host.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) You should also select one or more hypervisor-specific transports
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) below.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) To compile this driver as a module, choose M here: the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) will be called vsock. If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) config VSOCKETS_DIAG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) tristate "Virtual Sockets monitoring interface"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) depends on VSOCKETS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Support for PF_VSOCK sockets monitoring interface used by the ss tool.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) If unsure, say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) Enable this module so userspace applications can query open sockets.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) config VSOCKETS_LOOPBACK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) tristate "Virtual Sockets loopback transport"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) depends on VSOCKETS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) select VIRTIO_VSOCKETS_COMMON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) This module implements a loopback transport for Virtual Sockets,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) using vmw_vsock_virtio_transport_common.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) To compile this driver as a module, choose M here: the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) will be called vsock_loopback. If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) config VMWARE_VMCI_VSOCKETS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) tristate "VMware VMCI transport for Virtual Sockets"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) depends on VSOCKETS && VMWARE_VMCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) This module implements a VMCI transport for Virtual Sockets.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) Enable this transport if your Virtual Machine runs on a VMware
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) hypervisor.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) To compile this driver as a module, choose M here: the module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) will be called vmw_vsock_vmci_transport. If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) config VIRTIO_VSOCKETS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) tristate "virtio transport for Virtual Sockets"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) depends on VSOCKETS && VIRTIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) select VIRTIO_VSOCKETS_COMMON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) This module implements a virtio transport for Virtual Sockets.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) Enable this transport if your Virtual Machine host supports Virtual
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) Sockets over virtio.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) To compile this driver as a module, choose M here: the module will be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) called vmw_vsock_virtio_transport. If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) config VIRTIO_VSOCKETS_COMMON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) This option is selected by any driver which needs to access
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) the virtio_vsock. The module will be called
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) vmw_vsock_virtio_transport_common.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) config HYPERV_VSOCKETS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) tristate "Hyper-V transport for Virtual Sockets"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) depends on VSOCKETS && HYPERV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) This module implements a Hyper-V transport for Virtual Sockets.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) Enable this transport if your Virtual Machine host supports Virtual
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) Sockets over Hyper-V VMBus.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) To compile this driver as a module, choose M here: the module will be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) called hv_sock. If unsure, say N.