vmm-sys-util-v0.1.0
v0.1.0
This is the first vmm-sys-util crate release.
It is a collection of modules implementing helpers and utilities used by
multiple rust-vmm components and rust-vmm based VMMs.
Most of the code in this first release is based on either the crosvm or the
Firecracker projects, or both.
The first release comes with the following Rust modules:
-
aio: Safe wrapper over
Linux AIO. -
errno: Structures, helpers, and type definitions for working with
errno. -
eventfd: Structure and wrapper functions for working with
eventfd. -
fallocate: Enum and function for dealing with an allocated disk space by
fallocate. -
fam: Trait and wrapper for working with C defined FAM structures.
-
file_traits: Traits for handling file synchronization and length.
-
ioctls: Macros and functions for working with
ioctl. -
poll: Traits and structures for working with
epoll -
rand: Miscellaneous functions related to getting (pseudo) random numbers and strings.
-
seek_hole: Traits and implementations over
lseek64. -
signal: Enums, traits and functions for working with
signal. -
sockctrl_msg: Wrapper for sending and receiving messages with file descriptors on sockets that accept control messages (e.g. Unix domain sockets).
-
tempdir: Structure for handling temporary directories.
-
tempfile: Struct for handling temporary files as well as any cleanup
required. -
terminal: Trait for working with
termios. -
timerfd: Structure and functions for working with
timerfd. -
write_zeroes: Traits for replacing a range with a hole and writing zeroes in a file.