From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.101762.1679666378754685887 for ; Fri, 24 Mar 2023 06:59:39 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Bx/robal; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: ppolawsk@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679666377; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ixOtWoxDGI9veO1Z262ZepD/VM4/gxrpEqEn9PkEwhM=; b=Bx/robal0M3U1IYAznnO4QrMbSVQZLpqPN5rjfsAp8sjNLmRKNn/mcPempp/gdhdz/nRJY hdvTmVdNDiUu062puwZlHitCS+cOMQn8qeaEqtA9vBklMUzQoxfLhZjDbMQcL43yWna+Tg 9MAy4vrCE7H+pPpfULd4/rxWNasEoXg= Received: from mail-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-501-AJZdb5n0M2eQMb5cwl_NkQ-1; Fri, 24 Mar 2023 09:59:36 -0400 X-MC-Unique: AJZdb5n0M2eQMb5cwl_NkQ-1 Received: by mail-ua1-f69.google.com with SMTP id l31-20020ab03d9f000000b0073fb003de27so1029334uac.23 for ; Fri, 24 Mar 2023 06:59:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679666376; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ixOtWoxDGI9veO1Z262ZepD/VM4/gxrpEqEn9PkEwhM=; b=m5sMsmf4FroEeRzpaZD4G0sVbhTO/j/UuspZJtJVsRaRapHYkDqNPPPN85NQIotaDD y1KsVhqO1W8dPU2NYgM7loil+0es0hLH6RkHRz9PLF+Fzw9upSnleGvpJnCyGemCMO+U mmO5XmpvycXF7WOYT/CknyXJOWvPipVePSNpBGuuN2J0WgZS70HeJQgoYGAlL728LvrN JsL+Xgqkdr6bA45rOVZCg5D3EQtvcaOsePdJOznqE09MqLrruw0+uJLfuZjoUdezDlwb dgTIsOXvceTREI8QKNcWXrSq8UyW92zFOt6N4VcQHqqWTiseGZzyNK/e7+geCaCtWAbY ez2w== X-Gm-Message-State: AAQBX9c58NWvHlVPntGQntvo0ftiOFm/LYBwBAwOsMB5vnl+iON9cPEB q37ImR9wPIdIYSBqsmmiPEt8h9Ymtye3oMnhysfgdOoRuCmK/HFbdWtI3GuG0XYPsq1q0I1WnNI fjrnWfu60V+KUVtwevD3RLvmLcBj2ec9SORgsww== X-Received: by 2002:a67:ca1c:0:b0:426:7730:1b89 with SMTP id z28-20020a67ca1c000000b0042677301b89mr1473283vsk.0.1679666374653; Fri, 24 Mar 2023 06:59:34 -0700 (PDT) X-Google-Smtp-Source: AKy350YPSqTd2zEcih6PvZGjfKxnpIm3lO4T3UdUK9upTVE9ttj1WAn9Qv0OBEB+OJOACSAB1VU+F7XHy3sPTwWSxtE= X-Received: by 2002:a67:ca1c:0:b0:426:7730:1b89 with SMTP id z28-20020a67ca1c000000b0042677301b89mr1473257vsk.0.1679666373767; Fri, 24 Mar 2023 06:59:33 -0700 (PDT) MIME-Version: 1.0 References: <17449E3BBCD94462.23192@groups.io> In-Reply-To: <17449E3BBCD94462.23192@groups.io> From: =?UTF-8?B?UGF3ZcWCIFBvxYJhd3NraQ==?= Date: Fri, 24 Mar 2023 14:59:22 +0100 Message-ID: Subject: Re: [edk2-devel] PATCH v3 3/3 OvmfPkg: take PcdResizeXterm from the QEMU command line To: devel@edk2.groups.io Cc: Ard Biesheuvel , Jiewen Yao , Jordan Justen , Gerd Hoffmann X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/alternative; boundary="0000000000008ccd9405f7a5cd7e" --0000000000008ccd9405f7a5cd7e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi all, If someone had a chance to take a look at this patchset already and would like to share thoughts? The 1st patch from this series has been already successfully reviewed. Best regards, Pawel On Fri, Feb 17, 2023 at 2:03=E2=80=AFPM Pawe=C5=82 Po=C5=82awski wrote: > From: Laszlo Ersek > > This patch enables recognition of PcdResizeXterm config variable > by the OvmfPkg. When enablet it will trigger passing xterm control > sequences > from the OvmfPkg to the client terminal (xterm, gnome-terminal etc.). > This way client terminal window size will be alligned with > numbers of rows and columns requested by the firmware. > > Signed-off-by: Laszlo Ersek > > Pawel Polawski: Updated commit message for re-submission > > Cc: Ard Biesheuvel > Cc: Jiewen Yao > Cc: Jordan Justen > Cc: Gerd Hoffmann > > Signed-off-by: Pawe=C5=82 Po=C5=82awski > --- > OvmfPkg/AmdSev/AmdSevX64.dsc | 6 +++++- > OvmfPkg/CloudHv/CloudHvX64.dsc | 6 +++++- > OvmfPkg/IntelTdx/IntelTdxX64.dsc | 6 +++++- > OvmfPkg/Microvm/MicrovmX64.dsc | 6 +++++- > OvmfPkg/OvmfPkgIa32.dsc | 6 +++++- > OvmfPkg/OvmfPkgIa32X64.dsc | 6 +++++- > OvmfPkg/OvmfPkgX64.dsc | 6 +++++- > OvmfPkg/PlatformPei/PlatformPei.inf | 1 + > 8 files changed, 36 insertions(+), 7 deletions(-) > > diff --git a/OvmfPkg/AmdSev/AmdSevX64.dsc b/OvmfPkg/AmdSev/AmdSevX64.dsc > index 36100f5fdc11..d4429526709b 100644 > --- a/OvmfPkg/AmdSev/AmdSevX64.dsc > +++ b/OvmfPkg/AmdSev/AmdSevX64.dsc > @@ -477,6 +477,7 @@ [PcdsFixedAtBuild] > [PcdsDynamicDefault] > gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0 > > + gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0 > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0 > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0 > @@ -655,7 +656,10 @@ [Components] > > PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf > } > - MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf > + MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf { > + > + > NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf > + } > MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf { > > DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.i= nf > diff --git a/OvmfPkg/CloudHv/CloudHvX64.dsc > b/OvmfPkg/CloudHv/CloudHvX64.dsc > index 7326417eab62..5877a418f6b6 100644 > --- a/OvmfPkg/CloudHv/CloudHvX64.dsc > +++ b/OvmfPkg/CloudHv/CloudHvX64.dsc > @@ -584,6 +584,7 @@ [PcdsDynamicDefault] > # ($(SMM_REQUIRE) =3D=3D FALSE) > gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0 > > + gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE > !if $(SMM_REQUIRE) =3D=3D FALSE > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0 > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0 > @@ -778,7 +779,10 @@ [Components] > > PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf > } > - MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf > + MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf { > + > + > NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf > + } > MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf { > > DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.i= nf > diff --git a/OvmfPkg/IntelTdx/IntelTdxX64.dsc > b/OvmfPkg/IntelTdx/IntelTdxX64.dsc > index 0f1e970fbbb3..dc82398dbd62 100644 > --- a/OvmfPkg/IntelTdx/IntelTdxX64.dsc > +++ b/OvmfPkg/IntelTdx/IntelTdxX64.dsc > @@ -482,6 +482,7 @@ [PcdsDynamicDefault] > # ($(SMM_REQUIRE) =3D=3D FALSE) > gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0 > > + gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0 > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0 > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0 > @@ -661,7 +662,10 @@ [Components] > > PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf > } > - MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf > + MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf { > + > + > NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf > + } > MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf { > > DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.i= nf > diff --git a/OvmfPkg/Microvm/MicrovmX64.dsc > b/OvmfPkg/Microvm/MicrovmX64.dsc > index 2d53b5c2950d..44056b6b334e 100644 > --- a/OvmfPkg/Microvm/MicrovmX64.dsc > +++ b/OvmfPkg/Microvm/MicrovmX64.dsc > @@ -582,6 +582,7 @@ [PcdsDynamicDefault] > # ($(SMM_REQUIRE) =3D=3D FALSE) > gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0 > > + gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0 > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0 > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64|0 > @@ -758,7 +759,10 @@ [Components] > > PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf > } > - MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf > + MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf { > + > + > NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf > + } > MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf { > > DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.i= nf > diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc > index f232de13a7b6..411d4288f6a1 100644 > --- a/OvmfPkg/OvmfPkgIa32.dsc > +++ b/OvmfPkg/OvmfPkgIa32.dsc > @@ -603,6 +603,7 @@ [PcdsDynamicDefault] > # ($(SMM_REQUIRE) =3D=3D FALSE) > gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0 > > + gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE > !if $(SMM_REQUIRE) =3D=3D FALSE > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0 > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0 > @@ -822,7 +823,10 @@ [Components] > > PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf > } > - MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf > + MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf { > + > + > NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf > + } > MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf { > > DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.i= nf > diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc > index a9d422bd9169..0988ad4b1db2 100644 > --- a/OvmfPkg/OvmfPkgIa32X64.dsc > +++ b/OvmfPkg/OvmfPkgIa32X64.dsc > @@ -610,6 +610,7 @@ [PcdsDynamicDefault] > # ($(SMM_REQUIRE) =3D=3D FALSE) > gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0 > > + gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE > !if $(SMM_REQUIRE) =3D=3D FALSE > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0 > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0 > @@ -835,7 +836,10 @@ [Components.X64] > > PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf > } > - MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf > + MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf { > + > + > NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf > + } > MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf { > > DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.i= nf > diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc > index 3f970a79a08a..2c432af4eedc 100644 > --- a/OvmfPkg/OvmfPkgX64.dsc > +++ b/OvmfPkg/OvmfPkgX64.dsc > @@ -632,6 +632,7 @@ [PcdsDynamicDefault] > # ($(SMM_REQUIRE) =3D=3D FALSE) > gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0 > > + gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE > !if $(SMM_REQUIRE) =3D=3D FALSE > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0 > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase64|0 > @@ -903,7 +904,10 @@ [Components] > > PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf > } > - MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf > + MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf { > + > + > NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalPcdProducerLib.inf > + } > MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf { > > DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.i= nf > diff --git a/OvmfPkg/PlatformPei/PlatformPei.inf > b/OvmfPkg/PlatformPei/PlatformPei.inf > index 1fadadeb5565..3e28e1596d32 100644 > --- a/OvmfPkg/PlatformPei/PlatformPei.inf > +++ b/OvmfPkg/PlatformPei/PlatformPei.inf > @@ -99,6 +99,7 @@ [Pcd] > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize > gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize > gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved > + gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm > gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode > gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable > gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack > -- > 2.39.1 > > > >=20 > > > --=20 Pawe=C5=82 Po=C5=82awski Red Hat Virtualization ppolawsk@redhat.com @RedHat Red Hat Red Hat --0000000000008ccd9405f7a5cd7e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

If someone had a cha= nce to take a look at this patchset already and would like to share thought= s?
The 1st patch from this series has been already successfully r= eviewed.

Best regards,
Pawel

On= Fri, Feb 17, 2023 at 2:03=E2=80=AFPM Pawe=C5=82 Po=C5=82awski <ppolawsk@redhat.com> wrote:
From: Laszlo Ersek <<= a href=3D"mailto:lersek@redhat.com" target=3D"_blank">lersek@redhat.com= >

This patch enables recognition of PcdResizeXterm config variable
by the OvmfPkg. When enablet it will trigger passing xterm control sequence= s
from the OvmfPkg to the client terminal (xterm, gnome-terminal etc.).
This way client terminal window size will be alligned with
numbers of rows and columns requested by the firmware.

Signed-off-by: Laszlo Ersek <lersek@redhat.com>

Pawel Polawski: Updated commit message for re-submission

Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>

Signed-off-by: Pawe=C5=82 Po=C5=82awski <ppolawsk@redhat.com>
---
=C2=A0OvmfPkg/AmdSev/AmdSevX64.dsc=C2=A0 =C2=A0 =C2=A0 =C2=A0 | 6 +++++- =C2=A0OvmfPkg/CloudHv/CloudHvX64.dsc=C2=A0 =C2=A0 =C2=A0 | 6 +++++-
=C2=A0OvmfPkg/IntelTdx/IntelTdxX64.dsc=C2=A0 =C2=A0 | 6 +++++-
=C2=A0OvmfPkg/Microvm/MicrovmX64.dsc=C2=A0 =C2=A0 =C2=A0 | 6 +++++-
=C2=A0OvmfPkg/OvmfPkgIa32.dsc=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0| 6 +++++-
=C2=A0OvmfPkg/OvmfPkgIa32X64.dsc=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 6 ++++= +-
=C2=A0OvmfPkg/OvmfPkgX64.dsc=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 | 6 +++++-
=C2=A0OvmfPkg/PlatformPei/PlatformPei.inf | 1 +
=C2=A08 files changed, 36 insertions(+), 7 deletions(-)

diff --git a/OvmfPkg/AmdSev/AmdSevX64.dsc b/OvmfPkg/AmdSev/AmdSevX64.dsc index 36100f5fdc11..d4429526709b 100644
--- a/OvmfPkg/AmdSev/AmdSevX64.dsc
+++ b/OvmfPkg/AmdSev/AmdSevX64.dsc
@@ -477,6 +477,7 @@ [PcdsFixedAtBuild]
=C2=A0[PcdsDynamicDefault]
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0=

+=C2=A0 gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64= |0
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase= 64|0
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64= |0
@@ -655,7 +656,10 @@ [Components]
=C2=A0 =C2=A0 =C2=A0<LibraryClasses>
=C2=A0 =C2=A0 =C2=A0 =C2=A0PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf =C2=A0 =C2=A0}
-=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
+=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {
+=C2=A0 =C2=A0 <LibraryClasses>
+=C2=A0 =C2=A0 =C2=A0 NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalP= cdProducerLib.inf
+=C2=A0 }
=C2=A0 =C2=A0MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
=C2=A0 =C2=A0 =C2=A0<LibraryClasses>
=C2=A0 =C2=A0 =C2=A0 =C2=A0DevicePathLib|MdePkg/Library/UefiDevicePathLib/U= efiDevicePathLib.inf
diff --git a/OvmfPkg/CloudHv/CloudHvX64.dsc b/OvmfPkg/CloudHv/CloudHvX64.ds= c
index 7326417eab62..5877a418f6b6 100644
--- a/OvmfPkg/CloudHv/CloudHvX64.dsc
+++ b/OvmfPkg/CloudHv/CloudHvX64.dsc
@@ -584,6 +584,7 @@ [PcdsDynamicDefault]
=C2=A0 =C2=A0#=C2=A0 =C2=A0($(SMM_REQUIRE) =3D=3D FALSE)
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0=

+=C2=A0 gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
=C2=A0!if $(SMM_REQUIRE) =3D=3D FALSE
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64= |0
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase= 64|0
@@ -778,7 +779,10 @@ [Components]
=C2=A0 =C2=A0 =C2=A0<LibraryClasses>
=C2=A0 =C2=A0 =C2=A0 =C2=A0PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf =C2=A0 =C2=A0}
-=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
+=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {
+=C2=A0 =C2=A0 <LibraryClasses>
+=C2=A0 =C2=A0 =C2=A0 NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalP= cdProducerLib.inf
+=C2=A0 }
=C2=A0 =C2=A0MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
=C2=A0 =C2=A0 =C2=A0<LibraryClasses>
=C2=A0 =C2=A0 =C2=A0 =C2=A0DevicePathLib|MdePkg/Library/UefiDevicePathLib/U= efiDevicePathLib.inf
diff --git a/OvmfPkg/IntelTdx/IntelTdxX64.dsc b/OvmfPkg/IntelTdx/IntelTdxX6= 4.dsc
index 0f1e970fbbb3..dc82398dbd62 100644
--- a/OvmfPkg/IntelTdx/IntelTdxX64.dsc
+++ b/OvmfPkg/IntelTdx/IntelTdxX64.dsc
@@ -482,6 +482,7 @@ [PcdsDynamicDefault]
=C2=A0 =C2=A0#=C2=A0 =C2=A0($(SMM_REQUIRE) =3D=3D FALSE)
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0=

+=C2=A0 gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64= |0
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase= 64|0
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64= |0
@@ -661,7 +662,10 @@ [Components]
=C2=A0 =C2=A0 =C2=A0<LibraryClasses>
=C2=A0 =C2=A0 =C2=A0 =C2=A0PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf =C2=A0 =C2=A0}
-=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
+=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {
+=C2=A0 =C2=A0 <LibraryClasses>
+=C2=A0 =C2=A0 =C2=A0 NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalP= cdProducerLib.inf
+=C2=A0 }
=C2=A0 =C2=A0MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
=C2=A0 =C2=A0 =C2=A0<LibraryClasses>
=C2=A0 =C2=A0 =C2=A0 =C2=A0DevicePathLib|MdePkg/Library/UefiDevicePathLib/U= efiDevicePathLib.inf
diff --git a/OvmfPkg/Microvm/MicrovmX64.dsc b/OvmfPkg/Microvm/MicrovmX64.ds= c
index 2d53b5c2950d..44056b6b334e 100644
--- a/OvmfPkg/Microvm/MicrovmX64.dsc
+++ b/OvmfPkg/Microvm/MicrovmX64.dsc
@@ -582,6 +582,7 @@ [PcdsDynamicDefault]
=C2=A0 =C2=A0#=C2=A0 =C2=A0($(SMM_REQUIRE) =3D=3D FALSE)
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0=

+=C2=A0 gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64= |0
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase= 64|0
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase64= |0
@@ -758,7 +759,10 @@ [Components]
=C2=A0 =C2=A0 =C2=A0<LibraryClasses>
=C2=A0 =C2=A0 =C2=A0 =C2=A0PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf =C2=A0 =C2=A0}
-=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
+=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {
+=C2=A0 =C2=A0 <LibraryClasses>
+=C2=A0 =C2=A0 =C2=A0 NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalP= cdProducerLib.inf
+=C2=A0 }
=C2=A0 =C2=A0MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
=C2=A0 =C2=A0 =C2=A0<LibraryClasses>
=C2=A0 =C2=A0 =C2=A0 =C2=A0DevicePathLib|MdePkg/Library/UefiDevicePathLib/U= efiDevicePathLib.inf
diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
index f232de13a7b6..411d4288f6a1 100644
--- a/OvmfPkg/OvmfPkgIa32.dsc
+++ b/OvmfPkg/OvmfPkgIa32.dsc
@@ -603,6 +603,7 @@ [PcdsDynamicDefault]
=C2=A0 =C2=A0#=C2=A0 =C2=A0($(SMM_REQUIRE) =3D=3D FALSE)
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0=

+=C2=A0 gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
=C2=A0!if $(SMM_REQUIRE) =3D=3D FALSE
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64= |0
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase= 64|0
@@ -822,7 +823,10 @@ [Components]
=C2=A0 =C2=A0 =C2=A0<LibraryClasses>
=C2=A0 =C2=A0 =C2=A0 =C2=A0PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf =C2=A0 =C2=A0}
-=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
+=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {
+=C2=A0 =C2=A0 <LibraryClasses>
+=C2=A0 =C2=A0 =C2=A0 NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalP= cdProducerLib.inf
+=C2=A0 }
=C2=A0 =C2=A0MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
=C2=A0 =C2=A0 =C2=A0<LibraryClasses>
=C2=A0 =C2=A0 =C2=A0 =C2=A0DevicePathLib|MdePkg/Library/UefiDevicePathLib/U= efiDevicePathLib.inf
diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
index a9d422bd9169..0988ad4b1db2 100644
--- a/OvmfPkg/OvmfPkgIa32X64.dsc
+++ b/OvmfPkg/OvmfPkgIa32X64.dsc
@@ -610,6 +610,7 @@ [PcdsDynamicDefault]
=C2=A0 =C2=A0#=C2=A0 =C2=A0($(SMM_REQUIRE) =3D=3D FALSE)
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0=

+=C2=A0 gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
=C2=A0!if $(SMM_REQUIRE) =3D=3D FALSE
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64= |0
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase= 64|0
@@ -835,7 +836,10 @@ [Components.X64]
=C2=A0 =C2=A0 =C2=A0<LibraryClasses>
=C2=A0 =C2=A0 =C2=A0 =C2=A0PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf =C2=A0 =C2=A0}
-=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
+=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {
+=C2=A0 =C2=A0 <LibraryClasses>
+=C2=A0 =C2=A0 =C2=A0 NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalP= cdProducerLib.inf
+=C2=A0 }
=C2=A0 =C2=A0MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
=C2=A0 =C2=A0 =C2=A0<LibraryClasses>
=C2=A0 =C2=A0 =C2=A0 =C2=A0DevicePathLib|MdePkg/Library/UefiDevicePathLib/U= efiDevicePathLib.inf
diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
index 3f970a79a08a..2c432af4eedc 100644
--- a/OvmfPkg/OvmfPkgX64.dsc
+++ b/OvmfPkg/OvmfPkgX64.dsc
@@ -632,6 +632,7 @@ [PcdsDynamicDefault]
=C2=A0 =C2=A0#=C2=A0 =C2=A0($(SMM_REQUIRE) =3D=3D FALSE)
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0=

+=C2=A0 gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm|FALSE
=C2=A0!if $(SMM_REQUIRE) =3D=3D FALSE
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64= |0
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase= 64|0
@@ -903,7 +904,10 @@ [Components]
=C2=A0 =C2=A0 =C2=A0<LibraryClasses>
=C2=A0 =C2=A0 =C2=A0 =C2=A0PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf =C2=A0 =C2=A0}
-=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
+=C2=A0 MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf {
+=C2=A0 =C2=A0 <LibraryClasses>
+=C2=A0 =C2=A0 =C2=A0 NULL|OvmfPkg/Library/TerminalPcdProducerLib/TerminalP= cdProducerLib.inf
+=C2=A0 }
=C2=A0 =C2=A0MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf {
=C2=A0 =C2=A0 =C2=A0<LibraryClasses>
=C2=A0 =C2=A0 =C2=A0 =C2=A0DevicePathLib|MdePkg/Library/UefiDevicePathLib/U= efiDevicePathLib.inf
diff --git a/OvmfPkg/PlatformPei/PlatformPei.inf b/OvmfPkg/PlatformPei/Plat= formPei.inf
index 1fadadeb5565..3e28e1596d32 100644
--- a/OvmfPkg/PlatformPei/PlatformPei.inf
+++ b/OvmfPkg/PlatformPei/PlatformPei.inf
@@ -99,6 +99,7 @@ [Pcd]
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize =C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize =C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved +=C2=A0 gEfiMdeModulePkgTokenSpaceGuid.PcdResizeXterm
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable
=C2=A0 =C2=A0gEfiMdeModulePkgTokenSpaceGuid.PcdSetNxForStack
--
2.39.1








--

<= span>Pawe=C5=82 Po=C5=82awski

Red Hat Virtualization

ppolawsk@= redhat.com=C2=A0 =C2=A0

@RedHat=C2=A0=C2=A0=C2=A0Red Hat=C2=A0=C2=A0Red Hat
=
--0000000000008ccd9405f7a5cd7e--