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


The igvm crate is an implementation of a parser for the Independent Guest Virtual Machine (IGVM) file format

12 releases

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

#439 in Parser implementations

Download history 779/week @ 2024-01-25 812/week @ 2024-02-01 791/week @ 2024-02-08 1068/week @ 2024-02-15 575/week @ 2024-02-22 1085/week @ 2024-02-29 1588/week @ 2024-03-07 1166/week @ 2024-03-14 207/week @ 2024-03-21 412/week @ 2024-03-28 162/week @ 2024-04-04 132/week @ 2024-04-11 225/week @ 2024-04-18 649/week @ 2024-04-25 1013/week @ 2024-05-02 344/week @ 2024-05-09

2,243 downloads per month

MIT license

6.5K SLoC


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.


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.


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.


~35K SLoC