• Dexuan Cui's avatar
    hv_sock: implements Hyper-V transport for Virtual Sockets (AF_VSOCK) · ae0078fc
    Dexuan Cui authored
    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: default avatarDexuan 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: default avatarDavid S. Miller <davem@davemloft.net>
    ae0078fc
hyperv_transport.c 22.3 KB