spiegel_podman/vendor/github.com/mdlayher/vsock/CHANGELOG.md
Matthew Heon 642fa98976 Initial addition of 9p code to Podman
This includes two new hidden commands: a 9p server,
`podman machine server9p`, and a 9p client,
`podman machine client9p` with `server9p` currently only
configured to run on Windows and serve 9p via HyperV vsock, and
`client9p` only configured to run on Linux. The server is run by
`podman machine start` and has the same lifespan as gvproxy
(waits for the gvproxy PID to die before shutting down). The
client is run inside the VM, also by `podman machine start`, and
mounts uses kernel 9p mount code to complete the mount. It's
unfortunately not possible to use mount directly without the
wrapper; we need to set up the vsock and pass it to mount as an
FD.

In theory this can be generalized so that the server can run
anywhere and over almost any transport, but I haven't done this
here as I don't think we have a usecase other than HyperV right
now.

[NO NEW TESTS NEEDED] This requires changes to Podman in the VM,
so we need to wait until a build with this lands in FCOS to test.

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2023-10-31 10:14:02 -04:00

2.2 KiB

CHANGELOG

v1.2.1

  • [Improvement]: updated dependencies, test with Go 1.20.

v1.2.0

This is the first release of package vsock that only supports Go 1.18+. Users on older versions of Go must use v1.1.1.

  • [Improvement]: drop support for older versions of Go so we can begin using modern versions of x/sys and other dependencies.

v1.1.1

This is the last release of package vsock that supports Go 1.17 and below.

  • [Bug Fix] commit: fix build on non-UNIX platforms such as Windows. This is a no-op change on Linux but provides a friendlier experience for non-Linux users.

v1.1.0

  • [New API] commit: vsock.FileListener can be used to create a vsock.Listener from an existing os.File, which may be provided by systemd socket activation or another external mechanism.

v1.0.1

  • [Bug Fix] commit: upgrade github.com/mdlayher/socket to handle non-blocking connect(2) errors (called in vsock.Dial) properly by checking the SO_ERROR socket option. Lock in this behavior with a new test.
  • [Improvement] commit: downgrade the version of golang.org/x/net in use to support Go 1.12. We don't need the latest version for this package.

v1.0.0

This is the first release of package vsock that only supports Go 1.12+. Users on older versions of Go must use an unstable release.

  • Initial stable commit!
  • [API change]: the vsock.Dial and vsock.Listen constructors now accept an optional *vsock.Config parameter to enable future expansion in v1.x.x without prompting further breaking API changes. Because vsock.Config has no options as of this release, nil may be passed in all call sites to fix existing code upon upgrading to v1.0.0.
  • [New API]: the vsock.ListenContextID function can be used to create a *vsock.Listener which is bound to an explicit context ID address, rather than inferring one automatically as vsock.Listen does.