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

vsock: set up integration tests with qemu #27

Closed mdlayher closed 2 years ago

mdlayher commented 5 years ago

There's a lot going on here that could easily break, so we should work out a way to do integration tests with qemu and ensure messages can be passed back and forth appropriately.

mdlayher commented 5 years ago

https://godoc.org/golang.org/x/net/nettest

This could be a great candidate to add to integration tests.

mdlayher commented 5 years ago

This will be added in #33, but not run in CI because the nettest tests require creating a vsock loopback within a VM with the vsock device. This could be tricky.

mdlayher commented 2 years ago

No longer needed, we can bind to Local now!