[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] libxl: use macro CTX in libxl_qmp.c
commit d5aa78056d9da638caf8800597e3292b41a59e24 Author: Kelley Nielsen <kelleynnn@xxxxxxxxx> AuthorDate: Mon Nov 11 02:08:58 2013 -0800 Commit: Ian Campbell <ian.campbell@xxxxxxxxxx> CommitDate: Mon Nov 11 12:16:50 2013 +0000 libxl: use macro CTX in libxl_qmp.c The new coding style uses the convenience macro CTX as declared in libxl_internal.h. Substitute an invocation of this macro for its body at the one place it occurs in libxl_qmp.c. Suggested-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> Signed-off-by: Kelley Nielsen <kelleynnn@xxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> --- tools/libxl/libxl_qmp.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/libxl/libxl_qmp.c b/tools/libxl/libxl_qmp.c index 7fa8748..4af7db6 100644 --- a/tools/libxl/libxl_qmp.c +++ b/tools/libxl/libxl_qmp.c @@ -348,7 +348,7 @@ static libxl__qmp_handler *qmp_init_handler(libxl__gc *gc, uint32_t domid) "Failed to allocate qmp_handler"); return NULL; } - qmp->ctx = libxl__gc_owner(gc); + qmp->ctx = CTX; qmp->domid = domid; qmp->timeout = 5; -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |