On Mon, Feb 20, 2023 at 08:44:23AM -0600, Tom Lendacky wrote: > On 2/20/23 02:49, Dov Murik wrote: > > 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, this page must > > not be part of the SNP metadata list reported to the VMM. > > > > Check if that page is defined; if it is, skip it in the metadata list. > > 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). > > Would it be better to define a new section type (similar to what I did in > the SVSM PoC)? This way, it remains listed in the metadata and allows the > VMM to detect it and decide how to handle it.
Explicitly describing things sounds better to me too. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#100410): https://edk2.groups.io/g/devel/message/100410 Mute This Topic: https://groups.io/mt/97082683/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
