From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: solarflare.com, ip: 148.163.129.52, mailfrom: tpilar@solarflare.com) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) by groups.io with SMTP; Mon, 24 Jun 2019 08:53:48 -0700 X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us2.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id C0C65700091; Mon, 24 Jun 2019 15:53:47 +0000 (UTC) Received: from tp-desktop.uk.solarflarecom.com (10.17.20.51) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 24 Jun 2019 08:53:44 -0700 From: "Tomas Pilar (tpilar)" Subject: [PATCH v2] OvmfPkg: Use DxeRuntimeCapsuleLib from DxeCapsuleLibFmp in X64 builds To: Devel EDK2 CC: "jordan.l.justen@intel.com" , Laszlo Ersek , Ard Biesheuvel Message-ID: <6ef09714-fd1f-2f7b-5a1d-fdf5e1a609fb@solarflare.com> Date: Mon, 24 Jun 2019 16:53:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 X-Originating-IP: [10.17.20.51] X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24708.005 X-TM-AS-Result: No-0.170800-4.000000-10 X-TMASE-MatchedRID: wBOus8DVWX1ij/O3OqsI2FXXOFXDx25iL7s3UWfpd3PxqVi8VIQcXzya AUpSuClYanfXtrIQ3IWh/o4FZ060+YLMJ+3Kg5X4/ccgt/EtX/26qBWpGhCyILzSGQbxlE8o1/O AEGOFv5RGXL5PbY/Bi5scC5DV1Se5YlldA0POS1Ke0367q1uQ1H0tCKdnhB58vqq8s2MNhPAq09 CcMmQaRyq2rl3dzGQ19+9ZqEp9FTii7PAFhQX4+Grvwbx8oBO7gB9PBwkLPl5BPdCxh1yY5VQ+R YwPHqHARJaODpn3/fAFE/hP/R1x0CdXapb4zxpM5t6TT8R47zVazAigVxdXeiNlTYIDFiQj+C4I K5rEYL08DQfgROz55fqy+VVvqH2X X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10-0.170800-4.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24708.005 X-MDID: 1561391628-wu-2b4ADOmB8 Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit Switching to this library enables capsule support for FMP devices. This will allow testing of FMP for PCI devices using OVMF and PCI passthrough as well as software parts of the FMP API. Simple tests show that a capsule with an embedded driver now updates using CapsuleApp. Cc: Jordan Justen Cc: Laszlo Ersek Cc: Ard Biesheuvel Signed-off-by: Tomas Pilar --- OvmfPkg/OvmfPkgX64.dsc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index 39ac791565..4c41e59a75 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -125,7 +125,7 @@ UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf BootLogoLib|MdeModulePkg/Library/BootLogoLib/BootLogoLib.inf FileExplorerLib|MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf - CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibNull/DxeCapsuleLibNull.inf + CapsuleLib|MdeModulePkg/Library/DxeCapsuleLibFmp/DxeRuntimeCapsuleLib.inf DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf DxeServicesTableLib|MdePkg/Library/DxeServicesTableLib/DxeServicesTableLib.inf PeCoffGetEntryPointLib|MdePkg/Library/BasePeCoffGetEntryPointLib/BasePeCoffGetEntryPointLib.inf -- 2.17.2