[libvirt] [PATCH 0/2] virjson improvements [incremental backup saga]

Eric Blake eblake at redhat.com
Fri Jan 25 04:05:53 UTC 2019


Upstream qemu stabilized the QMP command block-dirty-bitmap-merge
to take an array of strings as the sources to merge into a destination
bitmap; this is a lot nicer for libvirt, compared to the alternative
where qemu 3.1 x-block-dirty-bitmap-merge had to be called multiple
times with the potential for some odd cleanup after partial failure
scenarios.

This series prepares virjson for use in my incremental backup work.

Eric Blake (2):
  virjson: always raise vir error on append failures
  virjson: add convenience wrapper for appending string to array

 src/util/virjson.h       |  2 ++
 src/libvirt_private.syms |  1 +
 src/util/virjson.c       | 28 +++++++++++++++++++++++++---
 3 files changed, 28 insertions(+), 3 deletions(-)

-- 
2.20.1




More information about the libvir-list mailing list