Re: [edk2-devel] [PATCH V5 24/33] OvmfPkg: Update PlatformInitLib to support Tdx guest

2022-01-27 Thread Gerd Hoffmann
On Sun, Jan 23, 2022 at 09:36:55AM +0800, Min Xu wrote: > RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 > > In Tdx guest, the system memory is passed in TdHob by host VMM. So > the major task of PlatformTdxPublishRamRegions is to walk thru the > TdHob list and transfer the ResourceDescr

[edk2-devel] [PATCH V5 24/33] OvmfPkg: Update PlatformInitLib to support Tdx guest

2022-01-22 Thread Min Xu
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 In Tdx guest, the system memory is passed in TdHob by host VMM. So the major task of PlatformTdxPublishRamRegions is to walk thru the TdHob list and transfer the ResourceDescriptorHob and MemoryAllocationHob to the hobs in DXE phase. Memory