Crate vmm_sys_util

Source
Expand description

Collection of modules that provides helpers and utilities used by multiple rust-vmm components.

Modules§

align
Miscellaneous macros related to align addresses
errno
Structures, helpers, and type definitions for working with errno.
fam
Trait and wrapper for working with C defined FAM structures.
metric
The purpose of this module is to provide abstractions for working with metrics in the context of rust-vmm components where there is a strong need to have metrics as an optional feature.
rand
Miscellaneous functions related to getting (pseudo) random numbers and strings.
syscall
Wrapper for interpreting syscall exit codes.
tempfile
Struct for handling temporary files as well as any cleanup required.

Macros§

align_downwards
Aligns the given address downwards to the nearest boundary specified by alignment.
align_upwards
Aligns the given address upwards to the nearest boundary specified by alignment.
generate_fam_struct_impl
Generate FamStruct implementation for structs with flexible array member.