]> git.ipfire.org Git - thirdparty/libvirt.git/commit
backup: Add new qemu monitor bitmap
authorEric Blake <eblake@redhat.com>
Thu, 6 Jun 2019 02:25:05 +0000 (21:25 -0500)
committerEric Blake <eblake@redhat.com>
Wed, 12 Jun 2019 02:47:10 +0000 (21:47 -0500)
commitad1c17c8d56b71f7d23e18dd68642f337b2278aa
tree84140cd2d79e190ea214ca4c950da81047b18350
parent6abda7a445ea3c00333098c0f96f504f009c3a90
backup: Add new qemu monitor bitmap

The upcoming virDomainBackup() API needs to take advantage of various
qcow2 bitmap manipulations as the basis to virDomainCheckpoints and
incremental backups.  Add four functions to expose
block-dirty-bitmap-{add,enable,disable,merge} (this is the
recently-added QEMU_CAPS_BITMAP_MERGE capability).

Signed-off-by: Eric Blake <eblake@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
tests/qemumonitorjsontest.c