diff options
author | Roth, Michael via groups.io <Michael.Roth=amd.com@groups.io> | 2023-04-26 04:32:58 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-04-26 13:39:01 +0000 |
commit | edacc551e6586258ab046dd852f65d674e3e2af0 (patch) | |
tree | 50dc1fbe0b1402e1ac1d3d6dda9f08dab81be2a0 /BaseTools/Plugin | |
parent | ce781cf8bb5e72d130b1db6a242c3bd312f5eb40 (diff) | |
download | edk2-edacc551e6586258ab046dd852f65d674e3e2af0.tar.gz edk2-edacc551e6586258ab046dd852f65d674e3e2af0.tar.bz2 edk2-edacc551e6586258ab046dd852f65d674e3e2af0.zip |
OvmfPkg/CcExitLib: Use documented XSave area base size for SEV-SNP
Currently OVMF tries to rely on the base size advertised via the CPUID
table entries corresponding to leaf 0xD, sub-leafs 0x0/0x1. This will
generally work for KVM guests, but might not for other SEV-SNP
hypervisor implementations. Make the handling more robust by simply
using the base area size documented by the APM.
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Acked-by: Jiewen Yao <jiewen.yao@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Diffstat (limited to 'BaseTools/Plugin')
0 files changed, 0 insertions, 0 deletions