[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [edk2-devel] [PATCH v2 16/31] OvmfPkg/XenPlatformPei: Introduce XenHvmloaderDetected



On 04/09/19 13:08, Anthony PERARD wrote:
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
> ---
>  OvmfPkg/XenPlatformPei/Platform.h | 5 +++++
>  OvmfPkg/XenPlatformPei/Xen.c      | 7 +++++++
>  2 files changed, 12 insertions(+)
> 
> diff --git a/OvmfPkg/XenPlatformPei/Platform.h 
> b/OvmfPkg/XenPlatformPei/Platform.h
> index 6ccd5eb66c..5565d47e34 100644
> --- a/OvmfPkg/XenPlatformPei/Platform.h
> +++ b/OvmfPkg/XenPlatformPei/Platform.h
> @@ -95,6 +95,11 @@ XenDetect (
>    VOID
>    );
>  
> +BOOLEAN
> +XenHvmloaderDetected (
> +  VOID
> +  );
> +
>  VOID
>  AmdSevInitialize (
>    VOID
> diff --git a/OvmfPkg/XenPlatformPei/Xen.c b/OvmfPkg/XenPlatformPei/Xen.c
> index 9d9e9f8020..89933ec3e9 100644
> --- a/OvmfPkg/XenPlatformPei/Xen.c
> +++ b/OvmfPkg/XenPlatformPei/Xen.c
> @@ -202,6 +202,13 @@ XenDetect (
>    return FALSE;
>  }
>  
> +BOOLEAN
> +XenHvmloaderDetected (
> +  VOID
> +  )
> +{
> +  return (mXenHvmloaderInfo != NULL);
> +}
>  
>  VOID
>  XenPublishRamRegions (
> 

(1) Please add least one sentence to the commit message body.

With that:

Acked-by: Laszlo Ersek <lersek@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.