All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/11] xentoollog, libvchan: Minor improvements
@ 2018-11-08 17:07 Ian Jackson
  2018-11-08 17:07 ` [PATCH v2 01/11] tools/libs/toollog: Provide a default logger Ian Jackson
                   ` (10 more replies)
  0 siblings, 11 replies; 25+ messages in thread
From: Ian Jackson @ 2018-11-08 17:07 UTC (permalink / raw)
  To: xen-devel; +Cc: Wei Liu, Ian Jackson, Marek Marczykowski-Górecki

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@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2018-11-29  0:01 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-08 17:07 [PATCH v2 00/11] xentoollog, libvchan: Minor improvements Ian Jackson
2018-11-08 17:07 ` [PATCH v2 01/11] tools/libs/toollog: Provide a default logger Ian Jackson
2018-11-08 17:24   ` Andrew Cooper
2018-11-08 17:28     ` Ian Jackson
2018-11-08 17:31       ` Andrew Cooper
2018-11-08 17:40         ` Andrew Cooper
2018-11-09 11:11           ` Ian Jackson
2018-11-08 17:07 ` [PATCH v2 02/11] tools/libs/toollog: Use the " Ian Jackson
2018-11-10  8:55   ` Marek Marczykowski-Górecki
2018-11-15 14:43   ` Wei Liu
2018-11-08 17:07 ` [PATCH v2 03/11] tools/libs/*: Rely on " Ian Jackson
2018-11-10  8:57   ` Marek Marczykowski-Górecki
2018-11-15 14:44   ` Wei Liu
2018-11-08 17:07 ` [PATCH v2 04/11] tools/libvchan: Initialise xs_transaction_t to XBT_NULL, not NULL Ian Jackson
2018-11-08 17:07 ` [PATCH v2 05/11] tools/xenstore: Document that xs_close(0) is OK Ian Jackson
2018-11-08 17:08 ` [PATCH v2 06/11] tools/libvchan: init_xs_srv: Simplify error handling (1) Ian Jackson
2018-11-08 17:08 ` [PATCH v2 07/11] tools/libvchan: init_xs_srv: Simplify error handling (2) Ian Jackson
2018-11-08 17:08 ` [PATCH v2 08/11] tools/libvchan: init_xs_srv: Turn xs retry from goto into for (; ; ) Ian Jackson
2018-11-08 17:08 ` [PATCH v2 09/11] tools/libvchan: Add xentoollog to direct dependencies Ian Jackson
2018-11-08 17:08 ` [PATCH v2 10/11] tools/libvchan: libxenvchan_*_init: Promise an errno Ian Jackson
2018-11-08 17:08 ` [PATCH v2 11/11] tools/libvchan: libxenvchan_client_init: use ENOENT for no server Ian Jackson
2018-11-10  9:06   ` Marek Marczykowski-Górecki
2018-11-12 13:52     ` Ian Jackson
2018-11-29  0:01       ` Marek Marczykowski-Górecki
2018-11-15 14:44   ` Wei Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.