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

[Xen-changelog] [xen staging] libxl: Fix build when LIBXL_API_VERSION is set



commit c4a5656b2ef3d29bb8acfb5342e786a5b9578018
Author:     Anthony PERARD <anthony.perard@xxxxxxxxxx>
AuthorDate: Mon Sep 23 14:26:52 2019 +0100
Commit:     Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
CommitDate: Mon Sep 23 14:39:18 2019 +0100

    libxl: Fix build when LIBXL_API_VERSION is set
    
    The compatibility function mistakenly called itself.
    
    Fixes: 95627b87c3159928458ee586e8c5c593bdd248d8
    Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
    Acked-by: Wei Liu <wl@xxxxxxx>
    Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 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 ba48e7e900..3421e5aa98 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
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

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