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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux