Skip to content

libxl: make _dispose idempotent and NULL-tolerant

Wei Liu xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 2 repliesIn review
  2. v18 patches 1 replySuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7libxl: fix off-by-one error in JSON parsertools/libxl/libxl_json.c+1 -10 replies
2/7gentest: make testidl valgrind cleantools/libxl/gentest.py+7 -30 replies
3/7libxl: make some _dipose functions idempotent and tolerate NULLtools/libxl/libxl.c tools/libxl/libxl_cpuid.c tools/libxl/libxl_utils.c+18 -31 reply
4/7gentypes: zero out structure in _dispose functiontools/libxl/gentypes.py+1 -20 replies
5/7gentypes: make dispose function tolerate NULLtools/libxl/gentypes.py+1 -00 replies
6/7testidl: call _init and _dispose several timestools/libxl/gentest.py+9 -30 replies
7/7libxl: update libxl.h to say _dispose is idempotenttools/libxl/libxl.h+1 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/7] libxl: make _dispose idempotent and NULL-tolerant

The first two patches are bug fixes.

Other patches are used to make _dispose idempotent and NULL-tolerant.

Wei.

Wei Liu (7):
libxl: fix off-by-one error in JSON parser
gentest: make testidl valgrind clean
libxl: make some _dipose functions idempotent and tolerate NULL
gentypes: zero out structure in _dispose function
gentypes: make dispose function tolerate NULL
testidl: call _init and _dispose several times
libxl: update libxl.h to say _dispose is idempotent

 tools/libxl/gentest.py    | 22 ++++++++++++++++------
 tools/libxl/gentypes.py   |  4 ++--
 tools/libxl/libxl.c       | 11 +++++++++--
 tools/libxl/libxl.h       |  3 +--
 tools/libxl/libxl_cpuid.c |  5 ++++-
 tools/libxl/libxl_json.c  |  2 +-
 tools/libxl/libxl_utils.c |  5 +++++
 7 files changed, 38 insertions(+), 14 deletions(-)
Signature · 1 line
1.9.1