Re: [edk2-devel] [PATCH 1/1] OvmfPkg/OvmfXen: Build platform info HOB in XenPlatformPei

2022-12-21 Thread Yao, Jiewen
el ; Justen, Jordan L > > Subject: Re: [edk2-devel] [PATCH 1/1] OvmfPkg/OvmfXen: Build platform info > HOB in XenPlatformPei > > Acked-by: Jiewen Yao > > > -Original Message- > > From: Gerd Hoffmann > > Sent: Tuesday, December 20, 2022 3:26 PM > >

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/OvmfXen: Build platform info HOB in XenPlatformPei

2022-12-21 Thread Yao, Jiewen
Acked-by: Jiewen Yao > -Original Message- > From: Gerd Hoffmann > Sent: Tuesday, December 20, 2022 3:26 PM > To: devel@edk2.groups.io; anthony.per...@citrix.com > Cc: Ard Biesheuvel ; Yao, Jiewen > ; Justen, Jordan L > Subject: Re: [edk2-devel] [PATCH 1/1] O

Re: [edk2-devel] [PATCH 1/1] OvmfPkg/OvmfXen: Build platform info HOB in XenPlatformPei

2022-12-19 Thread Gerd Hoffmann
On Mon, Dec 19, 2022 at 04:36:20PM +, Anthony PERARD via groups.io wrote: > From: Anthony PERARD > > Copy the function BuildPlatformInfoHob() from OvmfPkg/PlatformPei. > > QemuFwCfgLib expect this HOB to be present, or fails to do anything. > InternalQemuFwCfgIsAvailable() from

[edk2-devel] [PATCH 1/1] OvmfPkg/OvmfXen: Build platform info HOB in XenPlatformPei

2022-12-19 Thread Anthony PERARD via groups.io
From: Anthony PERARD Copy the function BuildPlatformInfoHob() from OvmfPkg/PlatformPei. QemuFwCfgLib expect this HOB to be present, or fails to do anything. InternalQemuFwCfgIsAvailable() from QemuFwCfgPeiLib module will not check if the HOB is actually present for example and try to use a NULL