- Support OVMF section
SVSM_CAA
(fixValueError: 4 is not a valid SectionType
) (by @DGonzalezVillal).
- Set default of
--guest-features
back to 0x1 to align with Linux kernel 6.8 and newer (kernel commit 5abf6dceb066) (by @larrydewey). - Update the VMSA to match latest upstream kernel; this should match host Linux kernel 6.10 and newer; this is a BREAKING CHANGE for older kernels (by @DGonzalezVillal).
- Updated dependencies: cryptography to 42.0.4, removed unneeded types-cryptography (by @msanft).
- Add optional
--vars-file
(besides--vars-size
) for SNP-SVSM mode (by @osteffenrh). - Add optional
--guest-features
to set the value of the SEV features field in the VMSA. This value is set to 0x1 by host Linux kernel older than 6.6, and to 0x21 (the default) in later kernels. Note that this is a BREAKING CHANGE for kernels older than 6.6 (run with--guest-features=0x1
to get the correct behaviour there).
- Updated dependencies: cryptography to 42.0.0
- Add
--mode=snp:svsm
to calculate SNP measurements when starting with SVSM under QEMU (by @osteffenrh). - Add
--dump-vmsa
to write measured VMSAs to local files for debugging (by @osteffenrh).
- Fix bad id-auth signature generation (by @shuk777).
- Verify keys given to snp-create-id-block are EC P-384 keys (by @shuk777).
- Github repository moved to the VirTEE organization.
- Add
--vmm-type=ec2
to calculate SNP measurements according to the EC2 VMM, which is slightly different than the way QEMU measures the initial VM state (by @agraf).
- Detect OVMF that doesn't support kernel hashes and exit with error.
- Exit with error if
--initrd
/--append
are used without--kernel
.
- Modify SNP measured direct boot to match the order of measured pages in QEMU
for the March 2023 patches (v3)
for SNP measured boot. Note that this is a BREAKING CHANGE if you use
--kernel
(that is, the calculated measurement will be different when compared to v0.0.4).
- Add
--mode=snp:ovmf-hash
and--snp-ovmf-hash
to allow precalculating the first part of SNP launch digest and avoid carrying the full OVMF binary for every minor OVMF change (by @agraf). - Add new utility
snp-create-id-block
which allows generating an SNP ID block from a given measurement (by @shuk777).
- Add
--output-format={hex,base64}
to control the measurement output format (default is hex) - For SEV-ES and SNP: Add guest CPU type choice using
--vcpu-type
or--vcpu-sig
or--vcpu-family/--vcpu-model/--vcpu-stepping
- Add SEV (
--mode=sev
) and SEV-ES (--mode=seves
) measurement modes - Add
--verbose
for verbose output; by default, only the digest is printed - Improve README
- Initial version