mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-18 05:44:24 +01:00
The `sev_guest_policy` configuration field distinguishes between SEV and SEV-ES guests (according to standard AMD SEV policy values). Modify the kata runtime to detect SEV-ES guests and calculate calculate the expected launch digest taking into account the number of VCPUs and their CPU signature (model/family/stepping). Fixes: #5471 Signed-off-by: Dov Murik <dovmurik@linux.ibm.com>
AMD SEV confidential guest utilities
This package provides utilities for launching AMD SEV confidential guests.
Calculating expected launch digests
The CalculateLaunchDigest function can be used to calculate the expected
SHA-256 of an SEV confidential guest given its firmware, kernel, initrd, and
kernel command-line.
Unit test data
The testdata directory contains file used for testing
CalculateLaunchDigest.