Re: [Xen-devel] [PATCH v3 27/35] OvmfPkg/XenPlatformLib: Cache result for XenDetected

2019-07-10 Thread Laszlo Ersek
On 07/04/19 16:42, Anthony PERARD wrote: > We are going to replace XenDetected() implementation in > PlatformBootManagerLib by the one in XenPlatformLib. > PlatformBootManagerLib's implementation does cache the result of > GetFirstGuidHob(), so we do something similar in XenPlatformLib. > > Ref: h

[Xen-devel] [PATCH v3 27/35] OvmfPkg/XenPlatformLib: Cache result for XenDetected

2019-07-04 Thread Anthony PERARD
We are going to replace XenDetected() implementation in PlatformBootManagerLib by the one in XenPlatformLib. PlatformBootManagerLib's implementation does cache the result of GetFirstGuidHob(), so we do something similar in XenPlatformLib. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1689 Si