mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
ae0078fcf0
Hyper-V Sockets (hv_sock) supplies a byte-stream based communication mechanism between the host and the guest. It uses VMBus ringbuffer as the transportation layer. With hv_sock, applications between the host (Windows 10, Windows Server 2016 or newer) and the guest can talk with each other using the traditional socket APIs. More info about Hyper-V Sockets is available here: "Make your own integration services": https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/make-integration-service The patch implements the necessary support in Linux guest by introducing a new vsock transport for AF_VSOCK. Signed-off-by: Dexuan Cui <decui@microsoft.com> Cc: K. Y. Srinivasan <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Cc: Stephen Hemminger <sthemmin@microsoft.com> Cc: Andy King <acking@vmware.com> Cc: Dmitry Torokhov <dtor@vmware.com> Cc: George Zhang <georgezhang@vmware.com> Cc: Jorgen Hansen <jhansen@vmware.com> Cc: Reilly Grant <grantr@vmware.com> Cc: Asias He <asias@redhat.com> Cc: Stefan Hajnoczi <stefanha@redhat.com> Cc: Vitaly Kuznetsov <vkuznets@redhat.com> Cc: Cathy Avery <cavery@redhat.com> Cc: Rolf Neugebauer <rolf.neugebauer@docker.com> Cc: Marcelo Cerri <marcelo.cerri@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
61 lines
1.8 KiB
Plaintext
61 lines
1.8 KiB
Plaintext
#
|
|
# Vsock protocol
|
|
#
|
|
|
|
config VSOCKETS
|
|
tristate "Virtual Socket protocol"
|
|
help
|
|
Virtual Socket Protocol is a socket protocol similar to TCP/IP
|
|
allowing communication between Virtual Machines and hypervisor
|
|
or host.
|
|
|
|
You should also select one or more hypervisor-specific transports
|
|
below.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called vsock. If unsure, say N.
|
|
|
|
config VMWARE_VMCI_VSOCKETS
|
|
tristate "VMware VMCI transport for Virtual Sockets"
|
|
depends on VSOCKETS && VMWARE_VMCI
|
|
help
|
|
This module implements a VMCI transport for Virtual Sockets.
|
|
|
|
Enable this transport if your Virtual Machine runs on a VMware
|
|
hypervisor.
|
|
|
|
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.
|
|
|
|
config HYPERV_VSOCKETS
|
|
tristate "Hyper-V transport for Virtual Sockets"
|
|
depends on VSOCKETS && HYPERV
|
|
help
|
|
This module implements a Hyper-V transport for Virtual Sockets.
|
|
|
|
Enable this transport if your Virtual Machine host supports Virtual
|
|
Sockets over Hyper-V VMBus.
|
|
|
|
To compile this driver as a module, choose M here: the module will be
|
|
called hv_sock. If unsure, say N.
|