mirror of
https://github.com/Dasharo/edk2.git
synced 2026-06-13 10:16:24 -07:00
OvmfPkg/PlatformPei: Do not enable S3 support for confidential VMs
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
committed by
Ard Biesheuvel
parent
b0ff7a035c
commit
9ff73832ea
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user