[Xen-devel] [PATCH] libxl: Fix build when LIBXL_API_VERSION is set

Anthony PERARD posted 1 patch 6 years, 1 month ago
Failed in applying to current master (apply log)
tools/libxl/libxl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[Xen-devel] [PATCH] libxl: Fix build when LIBXL_API_VERSION is set
Posted by Anthony PERARD 6 years, 1 month ago
The compatibility function mistakenly called itself.

Fixes: 95627b87c3159928458ee586e8c5c593bdd248d8
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
 tools/libxl/libxl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/libxl/libxl.h b/tools/libxl/libxl.h
index ba48e7e900d3..3421e5aa986d 100644
--- a/tools/libxl/libxl.h
+++ b/tools/libxl/libxl.h
@@ -2413,7 +2413,7 @@ int libxl_send_trigger(libxl_ctx *ctx, uint32_t domid,
 static inline int libxl_send_trigger_0x041200(
     libxl_ctx *ctx, uint32_t domid, libxl_trigger trigger, uint32_t vcpuid)
 {
-    return libxl_send_trigger_0x041200(ctx, domid, trigger, vcpuid, NULL);
+    return libxl_send_trigger(ctx, domid, trigger, vcpuid, NULL);
 }
 #define libxl_send_trigger libxl_send_trigger_0x041200
 #endif
-- 
Anthony PERARD


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH] libxl: Fix build when LIBXL_API_VERSION is set
Posted by Wei Liu 6 years, 1 month ago
On Mon, Sep 23, 2019 at 02:26:52PM +0100, Anthony PERARD wrote:
> The compatibility function mistakenly called itself.
> 
> Fixes: 95627b87c3159928458ee586e8c5c593bdd248d8
> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>

Acked-by: Wei Liu <wl@xen.org>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [Xen-devel] [PATCH] libxl: Fix build when LIBXL_API_VERSION is set
Posted by Ian Jackson 6 years, 1 month ago
Wei Liu writes ("Re: [PATCH] libxl: Fix build when LIBXL_API_VERSION is set"):
> On Mon, Sep 23, 2019 at 02:26:52PM +0100, Anthony PERARD wrote:
> > The compatibility function mistakenly called itself.
> > 
> > Fixes: 95627b87c3159928458ee586e8c5c593bdd248d8
> > Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
> 
> Acked-by: Wei Liu <wl@xen.org>

Thanks

Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>

and pushed.

Ian.

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