Module devices::virtio::vhost::user::device

source ·

Re-exports

Modules

Structs

Enums

Traits

  • Trait for vhost-user devices. Analogous to the VirtioDevice trait.
  • A trait for not-yet-built vhost-user devices.
  • Trait that the platform-specific type VhostUserListener needs to implement. It contains all the methods that are ok to call from non-platform specific code.

Functions

  • Return a new vhost-user console device. params are the device’s configuration, and keep_rds is a vector into which RawDescriptors that need to survive a fork are added, in case the device is meant to run within a child process.
  • Starts a vhost-user block device. Returns an error if the given args is invalid or the device fails to run.
  • Starts a vhost-user console device. Returns an error if the given args is invalid or the device fails to run.
  • Starts a vhost-user fs device. Returns an error if the given args is invalid or the device fails to run.
  • Starts a vhost-user net device. Returns an error if the given args is invalid or the device fails to run.
  • Returns an error if the given args is invalid or the device fails to run.
  • Starts a vhost-user wayland device. Returns an error if the given args is invalid or the device fails to run.