Package vsutil provides added functionality for package vsock-internal use.
Accept blocks until a single connection is accepted by the net.Listener.
If timeout is non-zero, the listener will be closed after the timeout expires, even if no connection was accepted.
IsHypervisor detects if this machine is a hypervisor by determining if /dev/vsock is available, and then if its context ID matches the one assigned to hosts.
SkipDeviceError skips this test if err is related to a failure to access the /dev/vsock device.
SkipHostIntegration skips this test if this machine is a host and cannot perform a given test.