Module loader

Source
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 elf
pub 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§

KernelLoaderResult
Result of KernelLoader.load().

Enums§

Error
Kernel loader errors.

Traits§

KernelLoader
Trait that specifies kernel image loading support.

Functions§

load_cmdline
Writes the command line string to the given guest memory slice.

Type Aliases§

Result
A specialized Result type for the kernel loader.