Expand description
Traits and structs for loading kernels into guest memory.
- KernelLoader: load kernel image into guest memory.
- KernelLoaderResult: structure passed to the VMM to assist zero page construction and boot environment setup.
- Elf: elf image loader.
- BzImage: bzImage loader.
- PE: PE image loader.
Re-exports§
pub use crate::cmdline::Cmdline;pub use elf::*;(x86 or x86-64) and elfpub use bzimage::*;(x86 or x86-64) and bzimage
Modules§
- bzimage
(x86 or x86-64) and bzimage - Traits and structs for loading bzimage kernels into guest memory.
- elf
(x86 or x86-64) and elf - Traits and structs for loading elf image kernels into guest memory.
Structs§
- Kernel
Loader Result - Result of
KernelLoader.load().
Enums§
- Error
- Kernel loader errors.
Traits§
- Kernel
Loader - Trait that specifies kernel image loading support.
Functions§
- load_
cmdline - Writes the command line string to the given guest memory slice.