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 using /dev/vhost-vsock #4

Closed mdlayher closed 7 years ago

mdlayher commented 7 years ago

Turns out, developing this on my machine with an old kernel lead me to believe that /dev/vsock was the only device available for querying. I was incorrect!