]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: blockjob: Store list of bitmaps disabled prior to commit
authorPeter Krempa <pkrempa@redhat.com>
Tue, 25 Feb 2020 06:28:44 +0000 (07:28 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 Mar 2020 16:33:08 +0000 (17:33 +0100)
commit41de7230ab169e80237f3e3a29bfecd9baf1a578
tree2ac688196491b197ffe87239fefd0ea0a23a0f1e
parent38d0dd08d61446455ff54e0a7b97b1a48054b7c5
qemu: blockjob: Store list of bitmaps disabled prior to commit

Starting a commit job will require disabling bitmaps in the base image
so that they are not dirtied by the commit job. We need to store a list
of the bitmaps so that we can later re-enable them.

Add a field and status XML handling code as well as a test.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_blockjob.h
src/qemu/qemu_domain.c
tests/qemustatusxml2xmldata/blockjob-blockdev-in.xml