#file-format #virtual-machine #virtualization #guest #isolation #binary-format #igvm

no-std igvm_defs

The igvm_defs crate is the specification for the Independent Guest Virtual Machine (IGVM) file format

12 releases

new 0.2.1 Apr 30, 2024
0.2.0 Apr 22, 2024
0.1.9 Apr 3, 2024
0.1.7 Mar 21, 2024
0.1.0 Aug 30, 2023

#162 in No standard library

Download history 386/week @ 2024-01-10 579/week @ 2024-01-17 766/week @ 2024-01-24 806/week @ 2024-01-31 809/week @ 2024-02-07 1015/week @ 2024-02-14 686/week @ 2024-02-21 1009/week @ 2024-02-28 1420/week @ 2024-03-06 1164/week @ 2024-03-13 521/week @ 2024-03-20 215/week @ 2024-03-27 350/week @ 2024-04-03 150/week @ 2024-04-10 214/week @ 2024-04-17 329/week @ 2024-04-24

1,219 downloads per month
Used in igvm

MIT license

53KB
435 lines

igvm

crates.io docs.rs crates.io docs.rs

This project is the home of the Independent Guest Virtual Machine (IGVM) file format. The format specification can be found in the igvm_defs crate, with a Rust implementation of the binary format in the igvm crate.

The IGVM file format is designed to encapsulate all information required to launch a virtual machine on any given virtualization stack, with support for different isolation technologies such as AMD SEV-SNP and Intel TDX.

At a conceptual level, this file format is a set of commands created by the tool that generated the file, used by the loader to construct the initial guest state. The file format also contains measurement information that the underlying platform will use to confirm that the file was loaded correctly and signed by the appropriate authorities.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Dependencies

~1–1.6MB
~28K SLoC