#store #varstore #virtfw-varstore

no-std bin+lib virtfw-varstore

efi variable store

4 releases

new 0.2.2 May 14, 2025
0.2.1 May 13, 2025
0.2.0 May 13, 2025
0.1.0 May 12, 2025

#352 in Date and time

Download history 53/week @ 2025-05-07

53 downloads per month

MIT license

150KB
3K SLoC

efi variable store implementation in rust

Project goals:

  • Provide a efi variable store implementation for SVSM.
  • Replace the current qemu variable store implementation.

What is there:

  • basic variable store implementation (store.rs).
  • parser for json variable store format used by qemu (json.rs).
  • parser for EFI_MM_COMMUNICATE protocol buffers (mm/).
  • code to parse and replay EFI_MM_COMMUNICATE protocol traces (pcap/).
  • test cases (tests/).
  • test utilities (src/bin/).

What is needed still:

  • support for authenticated efi variables.
  • support for secure boot.
  • support for variable locking and variable policies.
  • more test cases.
  • svsm integration.

Dependencies

~3–11MB
~109K SLoC