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