]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainBlockPivot: Copy bitmaps backing checkpoints for virDomainBlockCopy
authorPeter Krempa <pkrempa@redhat.com>
Thu, 30 Jan 2020 07:50:05 +0000 (08:50 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 4 Feb 2020 12:45:34 +0000 (13:45 +0100)
commit54030892f5122ef120c1e8ffb6e0546871030272
tree6d0336508da51665a436ebd497ed9b210901ee8b
parent9b13af73ac336fb1d93ef15e30204fbf9c7e536f
qemuDomainBlockPivot: Copy bitmaps backing checkpoints for virDomainBlockCopy

Use qemuBlockBitmapsHandleBlockcopy to calculate bitmaps to copy over
for a block-copy job.

We copy them when pivoting to the new image as at that point we are
certain that we don't dirty any bitmap unnecessarily.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c