Re: [edk2-devel] [PATCH v4 20/35] OvmfPkg/XenPlatformPei: Introduce XenPvhDetected

2019-08-08 Thread Roger Pau Monné
On Thu, Aug 08, 2019 at 11:38:13AM +0100, Anthony PERARD wrote: > On Wed, Aug 07, 2019 at 05:03:46PM +0200, Roger Pau Monné wrote: > > On Mon, Jul 29, 2019 at 04:39:29PM +0100, Anthony PERARD wrote: > > > +BOOLEAN > > > +XenPvhDetected ( > > > + VOID > > > + ) > > > +{ > > > + // > > > + // Thi

Re: [edk2-devel] [PATCH v4 20/35] OvmfPkg/XenPlatformPei: Introduce XenPvhDetected

2019-08-08 Thread Anthony PERARD
On Wed, Aug 07, 2019 at 05:03:46PM +0200, Roger Pau Monné wrote: > On Mon, Jul 29, 2019 at 04:39:29PM +0100, Anthony PERARD wrote: > > +BOOLEAN > > +XenPvhDetected ( > > + VOID > > + ) > > +{ > > + // > > + // This function should only be used after XenConnect > > + // > > + ASSERT (mXenInfo.

Re: [edk2-devel] [PATCH v4 20/35] OvmfPkg/XenPlatformPei: Introduce XenPvhDetected

2019-08-07 Thread Roger Pau Monné
On Mon, Jul 29, 2019 at 04:39:29PM +0100, Anthony PERARD wrote: > XenPvhDetected() can be used to figure out if OVMF has started via the > Xen PVH entry point. > > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1689 > Signed-off-by: Anthony PERARD > Acked-by: Laszlo Ersek Thanks, I've got

[edk2-devel] [PATCH v4 20/35] OvmfPkg/XenPlatformPei: Introduce XenPvhDetected

2019-07-29 Thread Anthony PERARD
XenPvhDetected() can be used to figure out if OVMF has started via the Xen PVH entry point. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1689 Signed-off-by: Anthony PERARD Acked-by: Laszlo Ersek --- OvmfPkg/XenPlatformPei/Platform.h | 5 + OvmfPkg/XenPlatformPei/Xen.c | 13