Crate vmm_sys_util

Source
Expand description

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

Modules§

  • Safe wrapper over Linux AIO.
  • Safe wrappers over the epoll API.
  • Structures, helpers, and type definitions for working with errno.
  • Structure and wrapper functions for working with eventfd.
  • Enum and function for dealing with an allocated disk space by fallocate.
  • Trait and wrapper for working with C defined FAM structures.
  • Traits for handling file synchronization and length.
  • Macros and functions for working with ioctl.
  • 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.
  • Traits and structures for working with epoll
  • Miscellaneous functions related to getting (pseudo) random numbers and strings.
  • Traits and implementations over lseek64.
  • Enums, traits and functions for working with signal.
  • Wrapper for sending and receiving messages with file descriptors on sockets that accept control messages (e.g. Unix domain sockets).
  • Wrapper for interpreting syscall exit codes.
  • Structure for handling temporary directories.
  • Struct for handling temporary files as well as any cleanup required.
  • Trait for working with termios.
  • Structure and functions for working with timerfd.
  • Traits for replacing a range with a hole and writing zeroes in a file.

Macros§