[PATCH 0/6] json helper cleanups

Peter Krempa pkrempa at redhat.com
Wed Dec 22 12:02:36 UTC 2021


Peter Krempa (6):
  qemuBlockStorageSourceGetRBDProps: Simplify generation of auth modes
  Replace open coded virJSONValueArrayAppendString
  util: json: Don't copy string in virJSONValueNewString
  util: json: Open-code only call of virJSONValueNewStringLen
  util: json: Remove virJSONValueIsNull/virJSONValueObjectIsNull
  util: virjson.h: Reformat headers to conform with new style

 src/libvirt_private.syms |   3 -
 src/qemu/qemu_agent.c    |   4 +-
 src/qemu/qemu_block.c    |  10 +-
 src/util/virjson.c       |  57 +------
 src/util/virjson.h       | 315 +++++++++++++++++++++++++++------------
 src/util/virmacmap.c     |   4 +-
 tests/virjsontest.c      |   4 +-
 7 files changed, 231 insertions(+), 166 deletions(-)

-- 
2.31.1




More information about the libvir-list mailing list