mdlayher/vsock

Package vsock provides access to Linux VM sockets (AF_VSOCK) for communication between a hypervisor and its virtual machines. MIT Licensed.

Go

395

157 commits

updated Aug 1, 2026

See the code

README

vsock Test Status Go Reference Go Report Card

Package vsock provides access to Linux VM sockets (AF_VSOCK) for communication between a hypervisor and its virtual machines. MIT Licensed.

For more information about VM sockets, see my blog about Linux VM sockets in Go or the QEMU wiki page on virtio-vsock.

Stability

See the CHANGELOG file for a description of changes between releases.

This package has a stable v1 API and any future breaking changes will prompt the release of a new major version. Features and bug fixes will continue to occur in the v1.x.x series.

This package only supports the two most recent major versions of Go, mirroring Go's own release policy. Older versions of Go may lack critical features and bug fixes which are necessary for this package to function correctly.

af-vsock
golang
hypervisor
linux
virtual-machine

Significant stargazers

Brad Fitzpatrick

13,603 followers · starred Jul 2018

Odin Ugedal

131 followers · starred Mar 2019

cbro

1,121 followers · starred Jun 2026

Brian Cain

67 followers · starred May 2025

mdlayher/vsock

Package vsock provides access to Linux VM sockets (AF_VSOCK) for communication between a hypervisor and its virtual machines. MIT Licensed.

Go

395

157 commits

updated Aug 1, 2026

See the code

README

vsock Test Status Go Reference Go Report Card

Package vsock provides access to Linux VM sockets (AF_VSOCK) for communication between a hypervisor and its virtual machines. MIT Licensed.

For more information about VM sockets, see my blog about Linux VM sockets in Go or the QEMU wiki page on virtio-vsock.

Stability

See the CHANGELOG file for a description of changes between releases.

This package has a stable v1 API and any future breaking changes will prompt the release of a new major version. Features and bug fixes will continue to occur in the v1.x.x series.

This package only supports the two most recent major versions of Go, mirroring Go's own release policy. Older versions of Go may lack critical features and bug fixes which are necessary for this package to function correctly.

af-vsock
golang
hypervisor
linux
virtual-machine

Significant stargazers

Brad Fitzpatrick

13,603 followers · starred Jul 2018

Odin Ugedal

131 followers · starred Mar 2019

cbro

1,121 followers · starred Jun 2026

Brian Cain

67 followers · starred May 2025