Expand description
Provides a Rust implementation of an Independent Guest Virtual Machine
(IGVM) file format parser, with the specification defined by the
igvm_defs
crate.
This can be used to build or read IGVM files from their binary format. Note that this parser may not implement all the specified structure types or semantics defined in the IGVM file format.
Modules§
- c_api
- Provides an alternative interface for using the IGVM crate that is suitable for calling from C.
- hv_defs
- A subset of the Microsoft hypervisor definitions used by the igvm crate.
- page_
table - Methods to construct page tables.
- registers
- Register types used by the IGVM file format.
- snp_
defs - AMD SEV-SNP specific definitions.
Structs§
- File
Data Serializer - The serializer for headers with file data. This serializer deduplicates data seen before, by handing out a file offset to already serialized data sections that match.
- Igvm
File - An in-memory IGVM file that can be used to load a guest, or serialized to the binary format.
- Igvm
Relocatable Region - Represents information about an IGVM relocatable region.
Enums§
- Arch
- Architecture for an IGVM file.
- Binary
Header Error - Binary serialization errors when converting a typed Rust
IgvmDirectiveHeader
to the corresponding IGVM binary format or vice versa. - Error
- Igvm
Directive Header - Represents a structure in an IGVM variable header section, directive structure.
- Igvm
Initialization Header - Represents a structure in an IGVM variable header section, initialization structure.
- Igvm
Platform Header - Represents a structure in an IGVM variable header section, platform structure.
- Igvm
Revision - Format revision for an IGVM file.
- Isolation
Type - The guest isolation type of the platform.