backup: qemu: Implement VIR_DOMAIN_CHECKPOINT_XML_SIZE flag
commit21989eeb2b5a7dbb55693ae609891ae4ec24fd81
authorEric Blake <eblake@redhat.com>
Wed, 19 Jun 2019 02:10:47 +0000 (18 21:10 -0500)
committerEric Blake <eblake@redhat.com>
Thu, 22 Aug 2019 00:45:01 +0000 (21 19:45 -0500)
tree4ab24540ac757c49e9f226ac18424f027d918bad
parente672f827d955227b3f5088666e509cdb46b808dc
backup: qemu: Implement VIR_DOMAIN_CHECKPOINT_XML_SIZE flag

Once a checkpoint has been created, it is desirable to estimate the
size of the disk delta that is represented between the checkpoint and
the current operation. To do this, we have to scrape information out
of QMP query-block on a request from the user.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_driver.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h