Re-exports§
pub use connection::sys::VhostUserListener;pub use connection::sys::VhostUserStream;pub use connection::VhostUserConnectionTrait;pub use gpu::run_gpu_device;pub use gpu::Options as GpuOptions;pub use handler::VhostUserDevice;pub use crate::virtio::vhost_user_backend::connection::BackendConnection;
Modules§
Structs§
- FsOptions
- FS 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.
- Vsock
Options - Vsock device
- WlOptions
- Wayland device
Traits§
- Vhost
User Device Builder - A trait for not-yet-built vhost-user devices.
Functions§
- run_
fs_ device - Starts a vhost-user fs device.
Returns an error if the given
argsis invalid or the device fails to run. - run_
vsock_ device - Returns an error if the given
argsis invalid or the device fails to run. - run_
wl_ device - Starts a vhost-user wayland device.
Returns an error if the given
argsis invalid or the device fails to run.