Reviewed-by: Jiewen Yao <[email protected]> > -----Original Message----- > From: Jason Andryuk <[email protected]> > Sent: Saturday, December 11, 2021 3:06 AM > To: [email protected] > Cc: Jason Andryuk <[email protected]>; Ard Biesheuvel > <[email protected]>; Yao, Jiewen <[email protected]>; Justen, > Jordan L <[email protected]>; Gerd Hoffmann <[email protected]>; > Anthony Perard <[email protected]>; Julien Grall <[email protected]> > Subject: [PATCH] OvmfPkg/OvmfXen: Fix Xen build > > commit 202fb22be6e9 "OvmfPkg/SecMain: validate the memory used for > decompressing Fv" broke building OvmfXen with: > > edk2/OvmfPkg/OvmfXen.dsc(...): error 1001: Module type [SEC] is not > supported by library instancer > [edk2/OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLib.inf] > consumed by [edk2/OvmfPkg/Sec/SecMain.inf] > > The above commit added a reference to MemEncryptSevLib into SecMain.inf, > but OvmfXen.dsc doesn't have a MemEncryptSevLib entry for SEC. Add one > like OvmfPkgX64.dsc has. > > Cc: Ard Biesheuvel <[email protected]> > Cc: Jiewen Yao <[email protected]> > Cc: Jordan Justen <[email protected]> > Cc: Gerd Hoffmann <[email protected]> > Cc: Anthony Perard <[email protected]> > Cc: Julien Grall <[email protected]> > Signed-off-by: Jason Andryuk <[email protected]> > --- > The error messages was long, so I wrapped it. > > OvmfPkg/OvmfXen.dsc | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/OvmfPkg/OvmfXen.dsc b/OvmfPkg/OvmfXen.dsc > index 383cb03d2a..a465c0cc60 100644 > --- a/OvmfPkg/OvmfXen.dsc > +++ b/OvmfPkg/OvmfXen.dsc > @@ -247,6 +247,7 @@ > !else > > > CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/SecPeiCp > uExceptionHandlerLib.inf > > !endif > > + > MemEncryptSevLib|OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptS > evLib.inf > > > > [LibraryClasses.common.PEI_CORE] > > HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf > > -- > 2.33.1
-=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#84656): https://edk2.groups.io/g/devel/message/84656 Mute This Topic: https://groups.io/mt/87648685/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
