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
336 stars 65 forks source link

vsock: differentiate host/guest with isHypervisor in tests #5

Closed mdlayher closed 7 years ago

mdlayher commented 7 years ago

Turns out some of my previous assumptions were incorrect. Even on my 14.04 LTS machine, /dev/vsock is available. Integration tests now check for the existence of this device, and better handle errors which may occur when reading from it.

Fixes #4 .