diff mbox series

libxl: fix libxl__cpuid_legacy in libxl_nocpuid.c

Message ID 20200213152751.3837-1-wl@xen.org (mailing list archive)
State New, archived
Headers show
Series libxl: fix libxl__cpuid_legacy in libxl_nocpuid.c | expand

Commit Message

Wei Liu Feb. 13, 2020, 3:27 p.m. UTC
Its last parameter should be libxl_domain_build_info.

Fixes: 1b3cec69 ("tools/libxl: Combine legacy CPUID handling logic")
Signed-off-by: Wei Liu <wl@xen.org>
---
 tools/libxl/libxl_nocpuid.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anthony PERARD Feb. 13, 2020, 3:30 p.m. UTC | #1
On Thu, Feb 13, 2020 at 03:27:51PM +0000, Wei Liu wrote:
> Its last parameter should be libxl_domain_build_info.
> 
> Fixes: 1b3cec69 ("tools/libxl: Combine legacy CPUID handling logic")
> Signed-off-by: Wei Liu <wl@xen.org>
> ---
>  tools/libxl/libxl_nocpuid.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/libxl/libxl_nocpuid.c b/tools/libxl/libxl_nocpuid.c
> index 7776574a0c..3f30e148be 100644
> --- a/tools/libxl/libxl_nocpuid.c
> +++ b/tools/libxl/libxl_nocpuid.c
> @@ -35,7 +35,7 @@ int libxl_cpuid_parse_config_xend(libxl_cpuid_policy_list *cpuid,
>  }
>  
>  void libxl__cpuid_legacy(libxl_ctx *ctx, uint32_t domid,
> -                         libxl_domain_config *d_config)
> +                         libxl_domain_build_info *info)
>  {
>  }
>  

Acked-by: Anthony PERARD <anthony.perard@citrix.com>

Thanks,
Wei Liu Feb. 13, 2020, 3:32 p.m. UTC | #2
On Thu, Feb 13, 2020 at 03:30:19PM +0000, Anthony PERARD wrote:
> On Thu, Feb 13, 2020 at 03:27:51PM +0000, Wei Liu wrote:
> > Its last parameter should be libxl_domain_build_info.
> > 
> > Fixes: 1b3cec69 ("tools/libxl: Combine legacy CPUID handling logic")
> > Signed-off-by: Wei Liu <wl@xen.org>
> > ---
> >  tools/libxl/libxl_nocpuid.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/tools/libxl/libxl_nocpuid.c b/tools/libxl/libxl_nocpuid.c
> > index 7776574a0c..3f30e148be 100644
> > --- a/tools/libxl/libxl_nocpuid.c
> > +++ b/tools/libxl/libxl_nocpuid.c
> > @@ -35,7 +35,7 @@ int libxl_cpuid_parse_config_xend(libxl_cpuid_policy_list *cpuid,
> >  }
> >  
> >  void libxl__cpuid_legacy(libxl_ctx *ctx, uint32_t domid,
> > -                         libxl_domain_config *d_config)
> > +                         libxl_domain_build_info *info)
> >  {
> >  }
> >  
> 
> Acked-by: Anthony PERARD <anthony.perard@citrix.com>

Thanks, pushed.

This should unblock Osstest and Gitlab CI.

Wei.
diff mbox series

Patch

diff --git a/tools/libxl/libxl_nocpuid.c b/tools/libxl/libxl_nocpuid.c
index 7776574a0c..3f30e148be 100644
--- a/tools/libxl/libxl_nocpuid.c
+++ b/tools/libxl/libxl_nocpuid.c
@@ -35,7 +35,7 @@  int libxl_cpuid_parse_config_xend(libxl_cpuid_policy_list *cpuid,
 }
 
 void libxl__cpuid_legacy(libxl_ctx *ctx, uint32_t domid,
-                         libxl_domain_config *d_config)
+                         libxl_domain_build_info *info)
 {
 }