Skip to contentSkip to conversation

libxl: Fix build when LIBXL_API_VERSION is set

PATCH In review Anthony PERARD 3 participants 3 messages Sep 23, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libxl: Fix build when LIBXL_API_VERSION is set

The compatibility function mistakenly called itself.

Fixes 95627b87c3159928458ee586e8c5c593bdd248d8
---
 tools/libxl/libxl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/libxl/libxl.h +1 -1
index ba48e7e900d3..3421e5aa986d 100644
@@ -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
Signature · 7 lines
Anthony PERARD


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Acked-by
#2 lore raw

Wei Liu writes ("Re: [PATCH] libxl: Fix build when LIBXL_API_VERSION is set"):

Quoted 7 lines · Anthony PERARD
Quoted 4 lines

The compatibility function mistakenly called itself.

Fixes 95627b87c3159928458ee586e8c5c593bdd248d8

Thanks

and pushed.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel