From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web09.7392.1644980113393859201 for ; Tue, 15 Feb 2022 18:55:13 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=hWMBExcH; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: jiewen.yao@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644980113; x=1676516113; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=5fU7EGh5I4Ahpv29Q4FB+ndqbJX9HBKlT6T82C48I/w=; b=hWMBExcHqGPzpesVDutu6cQ8hNiUJGpKdEIh6JX4ejacaai56mA3bnxG 8I8TY2jkNBOtOiPhbwhRChIRcWUd87qa7A3k9oJgczXOitC3PbHekV/QJ EmaaPgnczyOqo5YYh2BaT89IQuasUcKWvvAtz1ELIGW0w1PIiGV9phEw3 Dquems05q8xLRI8rbyDx72h9s+EAIlFFeDY+bC09JWIPJgrZqBg75NEAi 043C57qkG3nJD57Zx01W56kdJ/XMUHNin6ENKn8Bdh4QV2ODo3XQwUhXl YLpq5D5HLTCY72/nF48nZk8+Bmymo8CC87jj1Gv/2qjL17VuzYMkI1X2h g==; X-IronPort-AV: E=McAfee;i="6200,9189,10259"; a="313782876" X-IronPort-AV: E=Sophos;i="5.88,371,1635231600"; d="scan'208";a="313782876" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 18:55:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,371,1635231600"; d="scan'208";a="571097129" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga001.jf.intel.com with ESMTP; 15 Feb 2022 18:55:11 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 15 Feb 2022 18:55:11 -0800 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 15 Feb 2022 18:55:11 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Tue, 15 Feb 2022 18:55:11 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.170) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Tue, 15 Feb 2022 18:55:10 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Zk2AFNev8RAlsYw3SLLJSQq+k5Swam8R6sFlo+fcnp0qM279qUWRaTF8HEw2vYDNIPQgpA/t+lm7mYCsLjZZ7JzweRUg2f8YQUsW+IJ0haIqzBJqb6ASTqzVvlELnex8dqG7xhzE/oaG6ydzZF+4FmV906lt7292r5jobtirjU5yMhtszHgsbcilZQ/E0MIvsY1bcLzVw7qVzNhXXxkACNHY1H1Oyl5YqGfYxX6nMTucsnXbpiCJiRmd5NWixh83RODxh4O27lpWCnLrIcOWc4iz3SRBjmfy+2NSKDgGdDork2eHkH2CKN8MC8BRF5noimDNdQovpNxSbRmHg/Ax9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DkCoeOLUv79cIOnJrCqRm4RxSZl4qux+QcOA7KgEAbw=; b=kCiSSPCWOOXke8lIxC7mTgTv5TS3rVpudryBt6dyZKMVMmFl7zem6cHzMlLnhYiiLl7QFIND8VAx4GS+Nk1MPdKQ1IrxS1xx8fg5/8V9fgL/zVTOq/j3bKLm34e6OGbQzr1zwpTnOggWfe+apS4lIv36y5vjUnoFITkU0sIYNdWmeyQKsrmhfor36yYT/+tidJv3pC3tGU//5yoIqmhQGoYRksHvG4kbyerA3DeyxKdfzwCAUygFtQNwtHoO1Ij0f2bUpI/5MiH7Hf8KTGP3ZFRomTL1IVukUyI4nbH3lMVNnKc1xiDYa8oC2pw14R1hOlth/oPi1+wBlE5AtIjz1A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by MN0PR11MB6009.namprd11.prod.outlook.com (2603:10b6:208:370::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.18; Wed, 16 Feb 2022 02:55:07 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::21db:e2fd:b9a3:9292]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::21db:e2fd:b9a3:9292%5]) with mapi id 15.20.4995.014; Wed, 16 Feb 2022 02:55:07 +0000 From: "Yao, Jiewen" To: "devel@edk2.groups.io" , "Yao, Jiewen" , Brijesh Singh CC: James Bottomley , "Xu, Min M" , Tom Lendacky , "Justen, Jordan L" , Ard Biesheuvel , "Aktas, Erdem" , Michael Roth , Gerd Hoffmann , Aaron Young , "Dann Frazier" , "Gao, Liming" Subject: Re: [edk2-devel] [PATCH 1/1] OvmfPkg/FvbServicesSmm: use the VmgExitLibNull Thread-Topic: [edk2-devel] [PATCH 1/1] OvmfPkg/FvbServicesSmm: use the VmgExitLibNull Thread-Index: AQHYIn9YCfjrnYzlxUqFp85kkpBwq6yVexuAgAAAZqA= Date: Wed, 16 Feb 2022 02:55:07 +0000 Message-ID: References: <20220215151638.1671473-1-brijesh.singh@amd.com> <16D42481B2DB4BF7.16436@groups.io> In-Reply-To: <16D42481B2DB4BF7.16436@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.200.16 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c482d2ea-385a-4e39-bf48-08d9f0f7bd96 x-ms-traffictypediagnostic: MN0PR11MB6009:EE_ x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:826; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: HB3FgS+0OfNUmKkoJnZe7idlyKxHIXVJRtZgimBSldpSX8RRGyQpZT/N9T25cSviJPMwILEs1wJcdFWabt8oR2fmTf/y52ElDaZ8QBCefeOPtSpyx9gLpZZfVJmF2BKU0PyxChuwtAc+iaKcxyF2usMOJclaceMylpNRxB67xk7gxDfNgGfTNotO590+aZhAJHkrX0C5KEu4S4MtG7ve7Nwl/a9wS0lAnB1lbL4+FigH0+EXfpN/voikOpNY8YT1GFrbizva6S5GYJ3VMFxA4sK8sj8NsiMRuyQRUph2jC4/AJf1wDVPP1vVmpHpMHjzKfD0Vu6iEy/RlFBWrPTHiWEWXJtqEHjvYalJ3wfFD/e8ZX3hWj23DLVc+o9OizhmDM1wJDZpVkXhng8eTFPy8L8SUpYhivp5W8guM1E3htDXhVHLghh0H4c3p3yKZXH53pBtBGUAwXsmNdIJovqB+rmSfPSaLRzn1AsF8fQrow0d+i2E/wUmqUf2U6jSAu9NukAza5I/aQjFrbC2VyfGgvAABKZ5hvYXPQA675QpTjc3BghRmG3AV582piV+GBPaE8UyqgHOtw9T138n+hb2x+g9X0Buy1Z7tyzuHZkYmC4Q3m6+vL5IrKKQw9sKw9SCSeKxYhegwYS7aRpse86MgrFJJXFDLOQhLuLFWooWCMsIkReCv7fUe9Houlo7HdoWrjPqaiRYbcMHlLeGM63cM4J0p93pCTMbhCm2cvtH3pp+vOi+E/OPnQx9iIzekZw0fQQWNiVvKccszwrYrO6glsEHpOKZYg6Y1cytzNrYlnDhUnTrarT7xzZohKoliH4yBmtftlWWja5b2FREDdvd8w== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR11MB5872.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(86362001)(66556008)(82960400001)(8676002)(122000001)(110136005)(71200400001)(4326008)(52536014)(7416002)(66446008)(55016003)(76116006)(38100700002)(508600001)(54906003)(66476007)(38070700005)(7696005)(9686003)(64756008)(83380400001)(26005)(966005)(33656002)(316002)(19627235002)(66946007)(186003)(8936002)(5660300002)(53546011)(2906002)(6506007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?nDjnzJHzPI+/5IxW8eLAbbkoWnm5JlJR8EVBr6QwBcCnGht7f0HF6MyRebK1?= =?us-ascii?Q?RrHoooqR/dvjYlqVgu5Acu88KRWyaeyfLtoSAEpV04Msijj/wcs9Na2oRt5U?= =?us-ascii?Q?HxR6LPwbPU7nt7xHaaZiZqtcWD+0lvzLRw5bql/c6lc5Sm9kAqvDOhKFGTIz?= =?us-ascii?Q?E/VhROaBOMuKxWL9VZLe5557g6eZnID5nEoaA69LWob5FszLoPY3m6vwFOcL?= =?us-ascii?Q?JLOXvlixascnY+7svA5QutmVPTiS3UaZ03MfqRrfZaWx9/9+w+E8GU66mM8A?= =?us-ascii?Q?jBlyUpYhkkK1mIdNH049v29rwkqLryRByTUpF0sqt6iF+LXJDqURmiZgYyCx?= =?us-ascii?Q?QOtCTLvkp2Si6sg+G1t27ZmYb+NerRluxVazxWGNkMIIP6jVNQfYIWupf5KA?= =?us-ascii?Q?ThLkXHQmwHGCUuPTngHrZBTEVExIjmE/8QmILL40fh3Ty4ZyTXsHVadoA+qC?= =?us-ascii?Q?HWOqEihO2aEQdFR9PlvA0PAPHWhQUC0TJmSv8O6Tu1AFtWGik52dWDR6TGYE?= =?us-ascii?Q?5ObpEtEM4iiGUiTbhXyRhSIWVHtuolqvOdxKbqT93Sx8diFgzRTVN48zUN+F?= =?us-ascii?Q?FiqU67xM/vbux8ElJuKxN5zfIoiQNhIViqLcYMtxCInsmA06Bzb1i/iYUuAi?= =?us-ascii?Q?dzcmIghU6XhACZ3shudgOvaJ6NT7A+LKgovCSnGkd0b/3P1HrhnuVk3a6094?= =?us-ascii?Q?PqnmUQey2Unu/hzIwbcCOU+sLiZh44/COBtZ3SoDUCretSAhW/zUm9uap0q3?= =?us-ascii?Q?tha1Abi5+hzS92RLXHFVnndTPGx0Eq398rjd26rDutz5TpCxSr3PbDGbOlge?= =?us-ascii?Q?KYlIY8gKyWKTyFhiDOgPAzq06cd/jFZYMhVI8+BTnrZb0RCjdNP+sck4a83s?= =?us-ascii?Q?e5Z2SKP5eYLFF0XCECYKg8VQu/jnaLCj3RUalz71SCe6cOGDceE5D4ky8Vmt?= =?us-ascii?Q?/vy/o/A07TJit7BtCLn77Xt3gGHppCZranJl3NhWxDNL+5vOvTLY2YpGiKmk?= =?us-ascii?Q?1ihMUyQZ6rM37981BX/qS3ImIr+UGGAo5vUa/1a4fDexhmeEqqnpSk1yHJS8?= =?us-ascii?Q?myszQNZzUzWedqlCK/gx9eGoezLuIe6Y6sTBAIul09r9EpI/wHrtNYnq7Qud?= =?us-ascii?Q?wccM6UWyLc2RdLRz6iRehYO4eeK7dopx3zeTNI8hq2XcR7mzeovSJNb1qVJO?= =?us-ascii?Q?lW2emXnvy1mBKxOYSlx3Qzp5TL59eS+8s5E0mUmYeq61O8TDv/ZvnX7EbUYB?= =?us-ascii?Q?DvakXCArRV9fFl7xuHEQqhZ5pR4o3czZVpGiAYsI/Iz6VCGI+XPxmqDs4Rzx?= =?us-ascii?Q?lvXq5QtViTD7tye3PbHBiELi1NtAvd0ZnvjLdz/U732O1HJzZPDpOoP5tVeL?= =?us-ascii?Q?IyZej0FvcNz5rf8x6OJ4E1HlZMjbUiXZYPbTUSoSv2cLgVWRJy2inpUXO4Ke?= =?us-ascii?Q?NbOEfXM7OcX0Qt+cVSMPbm0Ge7SOSC80QTGGcliKZNsF24PvZewsYfz52I9G?= =?us-ascii?Q?0kSx6jPho7vMCNUFh7iNoN/cczH+dEjgpUNMs6BJPmT9JXcKXn8a+/PAvRnS?= =?us-ascii?Q?d9w4jkUszO1VKKocG0bMgkTi5qIwY+r6+iZaT/7BRPiu1b3geOC9rD1IDeHo?= =?us-ascii?Q?pVMPHWgZ0XbALIME/ogHNrk=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c482d2ea-385a-4e39-bf48-08d9f0f7bd96 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Feb 2022 02:55:07.7059 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: o1GxuHpozEWUZx4Pw4Gf0/QszwXsWKuSaLVldFbnRB2EkP74zjJID0mguxmiOZbpd8OXtiEL+9/tFEqZ9H2eow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR11MB6009 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable + Liming Since it is an issue https://bugzilla.tianocore.org/show_bug.cgi?id=3D3835 = in RC1, I assume we need merge it soon. Please double confirm. Thank you Yao, Jiewen > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Yao, Jiewe= n > Sent: Wednesday, February 16, 2022 10:52 AM > To: Brijesh Singh ; devel@edk2.groups.io > Cc: James Bottomley ; Xu, Min M ; > Tom Lendacky ; Justen, Jordan L > ; Ard Biesheuvel ; > Aktas, Erdem ; Michael Roth > ; Gerd Hoffmann ; Aaron > Young ; Dann Frazier > ; Michael Roth > Subject: Re: [edk2-devel] [PATCH 1/1] OvmfPkg/FvbServicesSmm: use the > VmgExitLibNull >=20 > Reviewed-by: Jiewen Yao >=20 > > -----Original Message----- > > From: Brijesh Singh > > Sent: Tuesday, February 15, 2022 11:17 PM > > To: devel@edk2.groups.io > > Cc: James Bottomley ; Xu, Min M > ; > > Yao, Jiewen ; Tom Lendacky > > ; Justen, Jordan L = ; > > Ard Biesheuvel ; Aktas, Erdem > > ; Michael Roth ; Gerd > > Hoffmann ; Brijesh Singh ; > > Aaron Young ; Dann Frazier > > ; Michael Roth > > Subject: [PATCH 1/1] OvmfPkg/FvbServicesSmm: use the VmgExitLibNull > > > > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3835 > > > > The commit ade62c18f4742301bbef474ac10518bde5972fba caused a boot > > failure > > when OVMF is build with SECURE_BOOT/SMM enabled. > > > > This happen because the above commit extended the > > BaseMemEncryptSevLib.inf > > to include VmgExitLib. The FvbServicesSmm uses the functions provided > > by the MemEncryptSevLib to clear the memory encryption mask from the > > page table. It created a dependency, as shown below > > > > OvmfPkg/FvbServicesSmm.inf > > ---> MemEncryptSevLib class > > ---> "OvmfPkg/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf" instance > > ---> VmgExitLib > > ---> "OvmfPkg/VmgExitLib" instance > > ---> LocalApicLib class > > ---> UefiCpuPkg/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf instance > > ---> TimerLib class > > ---> "OvmfPkg/AcpiTimerLib/DxeAcpiTimerLib.inf" instance > > ---> PciLib class > > ---> "OvmfPkg/DxePciLibI440FxQ35/DxePciLibI440FxQ35.inf" instance > > > > The LocalApicLib provides a constructor, execution of the constructor > > causes an exception. The SEV-ES and SEV-SNP do not support the SMM, so > > skip including the VmgExitLib chain. Use the module override to use the > > VmgExitLibNull to avoid the inclusion of unneeded LocalApicLib dependen= cy > > chain in FvbServicesSmm. We ran similar issue for AmdSevDxe driver, > > see commit 19914edc5a0202cc7830f819ffac7e7b2368166a > > > > After the patch, the dependency look like this: > > > > OvmfPkg/FvbServicesSmm.inf > > ---> MemEncryptSevLib class > > ---> "OvmfPkg/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf" instance > > ---> VmgExitLib > > ---> "UefiCpuPkg/Library/VmgExitLibNull" instance > > > > Fixes: ade62c18f4742301bbef474ac10518bde5972fba > > Reported-by: Aaron Young > > Cc: Dann Frazier > > Cc: Michael Roth > > Cc: James Bottomley > > Cc: Min Xu > > Cc: Jiewen Yao > > Cc: Tom Lendacky > > Cc: Jordan Justen > > Cc: Ard Biesheuvel > > Cc: Erdem Aktas > > Cc: Gerd Hoffmann > > Signed-off-by: Brijesh Singh > > --- > > OvmfPkg/CloudHv/CloudHvX64.dsc | 5 ++++- > > OvmfPkg/OvmfPkgIa32.dsc | 5 ++++- > > OvmfPkg/OvmfPkgIa32X64.dsc | 5 ++++- > > OvmfPkg/OvmfPkgX64.dsc | 5 ++++- > > 4 files changed, 16 insertions(+), 4 deletions(-) > > > > diff --git a/OvmfPkg/CloudHv/CloudHvX64.dsc > > b/OvmfPkg/CloudHv/CloudHvX64.dsc > > index 8ac9227c5f50..3172100310b1 100644 > > --- a/OvmfPkg/CloudHv/CloudHvX64.dsc > > +++ b/OvmfPkg/CloudHv/CloudHvX64.dsc > > @@ -906,7 +906,10 @@ [Components] > > # > > # Variable driver stack (SMM) > > # > > - OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf > > + OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf { > > + > > + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf > > + } > > > MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf > > MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf { > > > > diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc > > index 29eea82571c5..85abed24c1a7 100644 > > --- a/OvmfPkg/OvmfPkgIa32.dsc > > +++ b/OvmfPkg/OvmfPkgIa32.dsc > > @@ -956,7 +956,10 @@ [Components] > > # > > # Variable driver stack (SMM) > > # > > - OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf > > + OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf { > > + > > + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf > > + } > > > MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf > > MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf { > > > > diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc > > index 56d3c49ab21a..a9c1daecc1a8 100644 > > --- a/OvmfPkg/OvmfPkgIa32X64.dsc > > +++ b/OvmfPkg/OvmfPkgIa32X64.dsc > > @@ -974,7 +974,10 @@ [Components.X64] > > # > > # Variable driver stack (SMM) > > # > > - OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf > > + OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf { > > + > > + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf > > + } > > > MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf > > MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf { > > > > diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc > > index f0924c0f9d0a..718399299f57 100644 > > --- a/OvmfPkg/OvmfPkgX64.dsc > > +++ b/OvmfPkg/OvmfPkgX64.dsc > > @@ -971,7 +971,10 @@ [Components] > > # > > # Variable driver stack (SMM) > > # > > - OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf > > + OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf { > > + > > + VmgExitLib|UefiCpuPkg/Library/VmgExitLibNull/VmgExitLibNull.inf > > + } > > > MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteSmm.inf > > MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmm.inf { > > > > -- > > 2.25.1 >=20 >=20 >=20 >=20 >=20