|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 00/11] xentoollog, libvchan: Minor improvements
The point of this series is to make an API promise about what ENOENT
means from libxenvchan_client_init, to make it easier to build async
code on top of this (eg, libxl).
There is a lot of internal tidying, but also a necessary prefix is a
change to xentoollog to make it OK to pass NULL for a logger. This
allows elimination of all the duplicates of the default logger creation.
(Otherwise we'd have to have added yet another dupe to libvchan.)
+ 01/11 tools/libs/toollog: Provide a default logger
+ 02/11 tools/libs/toollog: Use the default logger
+ 03/11 tools/libs/*: Rely on the default logger
a 04/11 tools/libvchan: Initialise xs_transaction_t to XBT_NULL, not NULL
a 05/11 tools/xenstore: Document that xs_close(0) is OK.
a 06/11 tools/libvchan: init_xs_srv: Simplify error handling (1)
a 07/11 tools/libvchan: init_xs_srv: Simplify error handling (2)
a 08/11 tools/libvchan: init_xs_srv: Turn xs retry from goto into for (;;)
a 09/11 tools/libvchan: Add xentoollog to direct dependencies
a 10/11 tools/libvchan: libxenvchan_*_init: Promise an errno
11/11 tools/libvchan: libxenvchan_client_init: use ENOENT for no server
+ new patch in v2
a acked by tools maintainer
tools/libs/call/core.c | 10 -----
tools/libs/call/private.h | 2 +-
tools/libs/devicemodel/core.c | 11 -----
tools/libs/devicemodel/private.h | 2 +-
tools/libs/evtchn/core.c | 10 -----
tools/libs/evtchn/private.h | 2 +-
tools/libs/foreignmemory/core.c | 10 -----
tools/libs/foreignmemory/private.h | 2 +-
tools/libs/gnttab/gntshr_core.c | 10 -----
tools/libs/gnttab/gnttab_core.c | 10 -----
tools/libs/gnttab/private.h | 2 +-
tools/libs/toollog/Makefile | 2 +-
tools/libs/toollog/include/xentoollog.h | 12 ++++--
tools/libs/toollog/libxentoollog.map | 5 +++
tools/libs/toollog/xtl_core.c | 7 ++++
tools/libs/toollog/xtl_logger_stdio.c | 26 ++++++++++++
tools/libvchan/Makefile | 6 +--
tools/libvchan/init.c | 72 +++++++++++++++++++--------------
tools/libvchan/libxenvchan.h | 8 +++-
tools/libvchan/xenvchan.pc.in | 2 +-
tools/xenstore/include/xenstore.h | 2 +-
21 files changed, 105 insertions(+), 108 deletions(-)
--
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |