[libvirt] [PATCH 0/7] qemu: Improve JSON handling in monitor interactions

Peter Krempa posted 7 patches 5 years ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1553866155.git.pkrempa@redhat.com
src/libvirt_private.syms     |  1 +
src/qemu/qemu_monitor_json.c | 19 ++++++++-----------
src/util/virbuffer.c         | 14 +-------------
src/util/virbuffer.h         | 18 +++++++-----------
src/util/virjson.c           | 33 ++++++++++++++++++++++++---------
src/util/virjson.h           |  5 +++++
tests/virbuftest.c           |  4 +++-
7 files changed, 49 insertions(+), 45 deletions(-)
[libvirt] [PATCH 0/7] qemu: Improve JSON handling in monitor interactions
Posted by Peter Krempa 5 years ago
Remove a few unnecessary copies of the JSON string as well as duplicate
and unneeded debug logs.

Peter Krempa (7):
  util: buffer: Remove struct member munging
  util: buffer: Use 'size_t' for buffer size variables
  util: json: Use virBuffer in JSON->string conversion
  util: json: Don't bother logging output string in virJSONValueToString
  util: json: Export virJSONValueToBuffer
  qemu: monitor: Remove few debug statements
  qemu: monitor: Avoid unnecessary copies of command string

 src/libvirt_private.syms     |  1 +
 src/qemu/qemu_monitor_json.c | 19 ++++++++-----------
 src/util/virbuffer.c         | 14 +-------------
 src/util/virbuffer.h         | 18 +++++++-----------
 src/util/virjson.c           | 33 ++++++++++++++++++++++++---------
 src/util/virjson.h           |  5 +++++
 tests/virbuftest.c           |  4 +++-
 7 files changed, 49 insertions(+), 45 deletions(-)

-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list