OvmfPkg/PlatformPei: Do not enable S3 support for confidential VMs

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann
2025-11-18 11:38:52 -05:00
committed by Ard Biesheuvel
parent b0ff7a035c
commit 9ff73832ea
+4 -1
View File
@@ -331,7 +331,10 @@ InitializePlatform (
PlatformDebugDumpCmos ();
if (QemuFwCfgS3Enabled ()) {
if (!TdIsEnabled () &&
!PlatformInfoHob->SevEsIsEnabled &&
QemuFwCfgS3Enabled ())
{
DEBUG ((DEBUG_INFO, "S3 support was detected on QEMU\n"));
PlatformInfoHob->S3Supported = TRUE;
Status = PcdSetBoolS (PcdAcpiS3Enable, TRUE);