Module device_helpers

Source

Structsยง

DiskConfig
A one-shot configuration structure for implementing VirtioDeviceBuilder. We cannot do it on DiskOption directly because disk devices can be passed an optional control tube.
ScsiConfig
VmMemoryTube
Tubes that service VmMemoryRequest requests from devices.

Enumsยง

AnyControlTube
All the tube types collected and passed to run_control.
DeviceControlTube
Tubes that initiate requests to devices.
TaggedControlTube
Tubes that service requests from devices.
VfioDeviceVariant

Traitsยง

IntoUnixStream
VirtioDeviceBuilder
A trait for spawning virtio device instances and jails from their configuration structure.

Functionsยง

add_bind_mounts ๐Ÿ”’
create_9p_device
create_anonymous_file
create_balloon_device
create_custom_device
create_fs_device
create_iommu_device
create_keyboard_device
create_mouse_device
create_multi_touch_device
create_multitouch_trackpad_device
create_pmem_device
create_pmem_ext2_device
create_pvclock_device
create_rotary_device
create_simple_media_device
create_single_touch_device
create_sound_device
create_switches_device
create_tap_for_net_device ๐Ÿ”’
Create a new tap interface based on NetParametersMode.
create_trackpad_device
create_v4l2_device
create_vfio_device
create_vhost_user_frontend
create_video_device
create_video_device_jail ๐Ÿ”’
create_vinput_device
create_virtio_media_adapter
create_virtio_rng_device
create_virtio_snd_device
create_vtpm_proxy_device
create_wayland_device
register_video_device
setup_virtio_access_platform
Setup for devices with virtio-iommu
vhost_user_connection ๐Ÿ”’

Type Aliasesยง

DeviceResult