Modulesยง
- storage_
backend ๐ - Implementation of
StorageBackend
for VMGS files opened in VmgsTool - uefi_
nvram ๐ - Functions for interacting with the BIOS_NVRAM file in a VMGS file
- vmgs_
json ๐ - Schema definitions for JSON files generated by HvGuestState from a VMGSv1 file
Structsยง
- File
IdArg ๐ - File
Path ๐Arg - KeyPath
Arg ๐
Enumsยง
- Error ๐
- Exit
Code ๐ - Automation requires certain exit codes to be guaranteed main matches Error enum to ExitCode
- Open
Mode ๐ - Options ๐
- Vmgs
Encryption ๐Scheme
Constantsยง
- ONE_
GIGA_ ๐BYTE - ONE_
MEGA_ ๐BYTE
Functionsยง
- do_main ๐
- extract_
version ๐ - main ๐
- parse_
encryption_ ๐algorithm - parse_
file_ ๐id - parse_
legacy_ ๐args - read_
key_ ๐path - vhdfiledisk_
create ๐ - vmgs_
create ๐ - vmgs_
dump_ ๐headers - vmgs_
file_ ๐create - vmgs_
file_ ๐dump_ headers - vmgs_
file_ ๐open - vmgs_
file_ ๐query_ encryption - vmgs_
file_ ๐query_ file_ size - vmgs_
file_ ๐read - Get data from VMGS file, and write to
data_path
. - vmgs_
file_ ๐update_ key - vmgs_
file_ ๐validate - vmgs_
file_ ๐validate_ not_ empty - Validate if the VMGS file is empty. This is a special case for Azure and we want to return an error code (ERROR_EMPTY) instead of ERROR_FILE_CORRUPT. A file can be empty in the following 2 cases: 1) the size is zero 2) the size is non-zero but there is no content inside the file except the footer.
- vmgs_
file_ ๐validate_ not_ v1 - Validate that this is not a VMGSv1 file
- vmgs_
file_ ๐write - vmgs_
get_ ๐encryption_ scheme - vmgs_
open ๐ - vmgs_
query_ ๐file_ size - vmgs_
read ๐ - vmgs_
update_ ๐key - vmgs_
write ๐