xref: /openbmc/linux/net/vmw_vsock/Kconfig (revision 077263fb)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2d021c344SAndy King#
3d021c344SAndy King# Vsock protocol
4d021c344SAndy King#
5d021c344SAndy King
6d021c344SAndy Kingconfig VSOCKETS
7d021c344SAndy King	tristate "Virtual Socket protocol"
8d021c344SAndy King	help
9d021c344SAndy King	  Virtual Socket Protocol is a socket protocol similar to TCP/IP
108c88126bSMasanari Iida	  allowing communication between Virtual Machines and hypervisor
11d021c344SAndy King	  or host.
12d021c344SAndy King
13d021c344SAndy King	  You should also select one or more hypervisor-specific transports
14d021c344SAndy King	  below.
15d021c344SAndy King
16d021c344SAndy King	  To compile this driver as a module, choose M here: the module
17d021c344SAndy King	  will be called vsock. If unsure, say N.
18d021c344SAndy King
19413a4317SStefan Hajnocziconfig VSOCKETS_DIAG
20413a4317SStefan Hajnoczi	tristate "Virtual Sockets monitoring interface"
21413a4317SStefan Hajnoczi	depends on VSOCKETS
22413a4317SStefan Hajnoczi	default y
23413a4317SStefan Hajnoczi	help
24413a4317SStefan Hajnoczi	  Support for PF_VSOCK sockets monitoring interface used by the ss tool.
25413a4317SStefan Hajnoczi	  If unsure, say Y.
26413a4317SStefan Hajnoczi
27413a4317SStefan Hajnoczi	  Enable this module so userspace applications can query open sockets.
28413a4317SStefan Hajnoczi
29077263fbSStefano Garzarellaconfig VSOCKETS_LOOPBACK
30077263fbSStefano Garzarella	tristate "Virtual Sockets loopback transport"
31077263fbSStefano Garzarella	depends on VSOCKETS
32077263fbSStefano Garzarella	default y
33077263fbSStefano Garzarella	select VIRTIO_VSOCKETS_COMMON
34077263fbSStefano Garzarella	help
35077263fbSStefano Garzarella	  This module implements a loopback transport for Virtual Sockets,
36077263fbSStefano Garzarella	  using vmw_vsock_virtio_transport_common.
37077263fbSStefano Garzarella
38077263fbSStefano Garzarella	  To compile this driver as a module, choose M here: the module
39077263fbSStefano Garzarella	  will be called vsock_loopback. If unsure, say N.
40077263fbSStefano Garzarella
41d021c344SAndy Kingconfig VMWARE_VMCI_VSOCKETS
42d021c344SAndy King	tristate "VMware VMCI transport for Virtual Sockets"
43d021c344SAndy King	depends on VSOCKETS && VMWARE_VMCI
44d021c344SAndy King	help
45d021c344SAndy King	  This module implements a VMCI transport for Virtual Sockets.
46d021c344SAndy King
47d021c344SAndy King	  Enable this transport if your Virtual Machine runs on a VMware
48d021c344SAndy King	  hypervisor.
49d021c344SAndy King
50d021c344SAndy King	  To compile this driver as a module, choose M here: the module
51d021c344SAndy King	  will be called vmw_vsock_vmci_transport. If unsure, say N.
52304ba62fSAsias He
53304ba62fSAsias Heconfig VIRTIO_VSOCKETS
54304ba62fSAsias He	tristate "virtio transport for Virtual Sockets"
55304ba62fSAsias He	depends on VSOCKETS && VIRTIO
56304ba62fSAsias He	select VIRTIO_VSOCKETS_COMMON
57304ba62fSAsias He	help
58304ba62fSAsias He	  This module implements a virtio transport for Virtual Sockets.
59304ba62fSAsias He
60304ba62fSAsias He	  Enable this transport if your Virtual Machine host supports Virtual
61304ba62fSAsias He	  Sockets over virtio.
62304ba62fSAsias He
63304ba62fSAsias He	  To compile this driver as a module, choose M here: the module will be
64304ba62fSAsias He	  called vmw_vsock_virtio_transport. If unsure, say N.
65304ba62fSAsias He
66304ba62fSAsias Heconfig VIRTIO_VSOCKETS_COMMON
67304ba62fSAsias He	tristate
68304ba62fSAsias He	help
69304ba62fSAsias He	  This option is selected by any driver which needs to access
70304ba62fSAsias He	  the virtio_vsock.  The module will be called
71304ba62fSAsias He	  vmw_vsock_virtio_transport_common.
72ae0078fcSDexuan Cui
73ae0078fcSDexuan Cuiconfig HYPERV_VSOCKETS
74ae0078fcSDexuan Cui	tristate "Hyper-V transport for Virtual Sockets"
75ae0078fcSDexuan Cui	depends on VSOCKETS && HYPERV
76ae0078fcSDexuan Cui	help
77ae0078fcSDexuan Cui	  This module implements a Hyper-V transport for Virtual Sockets.
78ae0078fcSDexuan Cui
79ae0078fcSDexuan Cui	  Enable this transport if your Virtual Machine host supports Virtual
80ae0078fcSDexuan Cui	  Sockets over Hyper-V VMBus.
81ae0078fcSDexuan Cui
82ae0078fcSDexuan Cui	  To compile this driver as a module, choose M here: the module will be
83ae0078fcSDexuan Cui	  called hv_sock. If unsure, say N.
84