StructsΒ§
- Options
- Vsock device
- Vhost
User Vsock Device - 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.
- Vring
Config π - Vring
State π - Vsock
Backend π
ConstantsΒ§
- EVENT_
QUEUE π
FunctionsΒ§
- convert_
vhost_ πerror - program_
fd π - run_
vsock_ device - Returns an error if the given
argsis invalid or the device fails to run.