mdlayher / vsock

Package vsock provides access to Linux VM sockets (AF_VSOCK) for communication between a hypervisor and its virtual machines. MIT Licensed.
MIT License
328 stars 65 forks source link

Support blocking mode for Go 1.10 #37

Closed monstermunchkin closed 4 years ago

monstermunchkin commented 4 years ago

This reintroduces support for Go 1.10 but uses blocking mode instead.

LXD will be adding VM support which needs to work with Go 1.10 as well. See https://github.com/lxc/lxd/issues/6234.

monstermunchkin commented 4 years ago

Unfortunately, staticcheck only supports the latest two Go versions therefore the Go 1.10 build fails.

mdlayher commented 4 years ago

The 1.10 build appears to be failing due to no module mode support I'm guessing. GOPATH should work fine though once the dependencies are fetched.

monstermunchkin commented 4 years ago

What exactly needs to be changed in the build file for it to work?

mdlayher commented 4 years ago

Thanks for implementing this. I patched up the last couple of things with the CI build and integration tests.