Module vsock

Source

StructsΒ§

Options
Vsock device
VhostUserVsockDevice
A vhost-vsock device which handle is already opened. This allows the parent process to open the vhost-vsock device, create this structure, and pass it to the child process so it doesn’t need the rights to open the vhost-vsock device itself.
VringConfig πŸ”’
VringState πŸ”’
VsockBackend πŸ”’

ConstantsΒ§

EVENT_QUEUE πŸ”’

FunctionsΒ§

convert_vhost_error πŸ”’
program_fd πŸ”’
run_vsock_device
Returns an error if the given args is invalid or the device fails to run.