Skip to content

xentoollog, libvchan: Minor improvements

Ian Jackson xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 13 repliesIn review
  2. v18 patches 13 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11tools/libs/toollog: Provide a default loggertools/libs/toollog/Makefile tools/libs/toollog/include/xentoollog.h tools/libs/toollog/libxentoollog.map +1 more+37 -15 replies
2/11tools/libs/toollog: Use the default loggertools/libs/toollog/include/xentoollog.h tools/libs/toollog/xtl_core.c+12 -42 replies
3/11tools/libs/*: Rely on the default loggertools/libs/call/core.c tools/libs/call/private.h tools/libs/devicemodel/core.c +8 more+5 -662 replies
4/11tools/libvchan: Initialise xs_transaction_t to XBT_NULL, not NULLtools/libvchan/init.c+1 -10 replies
5/11tools/xenstore: Document that xs_close(0) is OK.tools/xenstore/include/xenstore.h+1 -10 replies
6/11tools/libvchan: init_xs_srv: Simplify error handling (1)tools/libvchan/init.c+3 -30 replies
7/11tools/libvchan: init_xs_srv: Simplify error handling (2)tools/libvchan/init.c+6 -70 replies
8/11tools/libvchan: init_xs_srv: Turn xs retry from goto into for (; ; )tools/libvchan/init.c+26 -240 replies
9/11tools/libvchan: Add xentoollog to direct dependenciestools/libvchan/Makefile tools/libvchan/xenvchan.pc.in+4 -40 replies
10/11tools/libvchan: libxenvchan_*_init: Promise an errnotools/libvchan/libxenvchan.h+2 -20 replies
11/11tools/libvchan: libxenvchan_client_init: use ENOENT for no servertools/libvchan/init.c tools/libvchan/libxenvchan.h+14 -14 replies

Reviews trailers per patch

10 of 11 patches have a Reviewed-by or Acked-by.

PatchWei LiuMarek Marczykowski-Górecki
1/11
2/11A-b R-b
3/11A-b R-b
4/11A-b
5/11A-b
6/11A-b
7/11A-b
8/11A-b
9/11A-b
10/11A-b
11/11A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [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(-)
Signature · 7 lines
2.11.0


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