Expand description
Virtual Machine Monitor that leverages the Linux Kernel-based Virtual Machine (KVM), and other virtualization features to run a single lightweight micro-virtual machine (microVM).
Modules§
- builder
- Handles setup and initialization a
Vmmobject. Enables pre-boot setup, instantiation and booting of a Firecracker VMM. - resources
- Resource store for configured microVM resources.
- signal_
handler - Signal handling utilities.
- vmm_
config - Wrappers over structures used to configure the VMM.
- worker
Structs§
- Vmm
- Contains the state and associated methods required for the Firecracker VMM.
Enums§
- Error
- Errors associated with the VMM internal logic. These errors cannot be generated by direct user input, but can result from bad configuration of the host (for example if Firecracker doesn’t have permissions to open the KVM fd).
Constants§
- FC_
EXIT_ CODE_ ARG_ PARSING - Command line arguments parsing error.
- FC_
EXIT_ CODE_ BAD_ CONFIGURATION - Bad configuration for microvm’s resources, when using a single json.
- FC_
EXIT_ CODE_ BAD_ SYSCALL - Firecracker was shut down after intercepting a restricted system call.
- FC_
EXIT_ CODE_ GENERIC_ ERROR - Generic error exit code.
- FC_
EXIT_ CODE_ OK - Success exit code.
- FC_
EXIT_ CODE_ SIGBUS - Firecracker was shut down after intercepting
SIGBUS. - FC_
EXIT_ CODE_ SIGSEGV - Firecracker was shut down after intercepting
SIGSEGV. - FC_
EXIT_ CODE_ UNEXPECTED_ ERROR - Generic exit code for an error considered not possible to occur if the program logic is sound.
Traits§
- VmmEvents
Observer - Trait for objects that need custom initialization and teardown during the Vmm lifetime.
Type Aliases§
- Result
- Shorthand result type for internal VMM commands.