audk/OvmfPkg/ResetVector
Dov Murik 9eec96bd4f OvmfPkg/ResetVector: Define SNP metadata for kernel hashes
In order to allow the VMM (such as QEMU) to add a page with hashes of
kernel/initrd/cmdline for measured direct boot on SNP, add it explicitly
to the SNP metadata list report to the VMM.

In such case, VMM should fill the page with the hashes content, or
explicitly update it as a zero page (if kernel hashes are not used).

Note that for SNP, the launch secret part of the page (lower 3KB) are
not relevant and will remain zero.  The last 1KB is used for the hashes.

This should have no effect on OvmfPkgX64 targets (which don't define
PcdSevLaunchSecretBase).

Signed-off-by: Dov Murik <dovmurik@linux.ibm.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
2023-11-28 12:13:03 +00:00
..
Ia16 OvmfPkg: Remove applicationProcessorEntryPoint 2023-09-18 02:39:25 +00:00
Ia32 OvmfPkg/ResetVector: Fix assembler bit test flag check 2023-07-14 22:52:58 +00:00
X64 OvmfPkg/ResetVector: Define SNP metadata for kernel hashes 2023-11-28 12:13:03 +00:00
Main.asm OvmfPkg: Make an Ia32/X64 hybrid build work with SEV 2022-05-20 06:29:34 +00:00
ResetVector.inf OvmfPkg/ResetVector: pre-validate the data pages used in SEC phase 2021-12-09 06:28:10 +00:00
ResetVector.nasmb OvmfPkg/ResetVector: Define SNP metadata for kernel hashes 2023-11-28 12:13:03 +00:00