mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
OvmfPkg/PlatformPei: Do not enable S3 support for confidential VMs
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
b0ff7a035c
commit
9ff73832ea
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue