devices
0.1.0
Module console
Module Items
Structs
Functions
In devices::
virtio::
vhost_
user_
backend
devices
::
virtio
::
vhost_user_backend
Module
console
Copy item path
Source
Structs
§
Console
Backend
🔒
Options
Console device
Vhost
User
Console
Device
Console device for use with vhost-user. Will set stdin back to canon mode if we are getting input from it.
Functions
§
create_
vu_
console_
device
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.
create_
vu_
multi_
port_
device
🔒
run_
console_
device
Starts a vhost-user console device. Returns an error if the given
args
is invalid or the device fails to run.
run_
multi_
port_
device
🔒
Starts a multiport enabled vhost-user console device. Returns an error if the given
args
is invalid or the device fails to run.