[edk2-devel] [PATCH v7 09/31] OvmfPkg/SecMain: register GHCB gpa for the SEV-SNP guest

Gerd Hoffmann kraxel at redhat.com
Thu Sep 16 08:30:37 UTC 2021


  Hi,

> Good point, there is no reason to read and restore the old GHCB, I will
> remove it in next version. The function does not set this as a GHCB address,
> it send request to hypervisor saying that it would like to use this address.
> If hypervisor is not okay with the address then it may recommend something
> else. We don't support working with the hypervisor preferred address.
> Setting the GHCB address code is common between Snp and Es but checking with
> hypervisor whether its okay to use is new in the GHCBv2 and is SNP specific.

A comment explaining those GHCBv1 vs. GHCBv2 differences would be great.

thanks,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#80760): https://edk2.groups.io/g/devel/message/80760
Mute This Topic: https://groups.io/mt/85582697/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list