]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainBlockCommit: Handle bitmaps on start of commit
authorPeter Krempa <pkrempa@redhat.com>
Tue, 3 Mar 2020 12:59:48 +0000 (13:59 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 Mar 2020 16:33:09 +0000 (17:33 +0100)
commit2b9091f089279a7bac523095a2ccd146fa20800b
treeb305444580cc75e6d0669bf9d657329fd34df2e4
parenta2bf4a13acf55864ddb11261cbaade4aedd28b9f
qemuDomainBlockCommit: Handle bitmaps on start of commit

On start of the commit job, we need to disable any active bitmap in the
base. Use qemuBlockBitmapsHandleCommitStart to calculate which and call
the appropriate QMP APIs. We use blockdev-reopen to make the 'base'
writable to disable the bitmaps.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
src/qemu/qemu_driver.c