]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemublocktest: Add 'snapshots' tests for block commit bitmap handling
authorPeter Krempa <pkrempa@redhat.com>
Fri, 29 May 2020 11:03:53 +0000 (13:03 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 22 Jun 2020 14:04:31 +0000 (16:04 +0200)
commitb5eaabfbf892c8d4a30b2822325959a6ecb93cb6
tree6fe3f1a7eabd22c77bdb608b719813b58df6d041
parent79bc7c1828212c165d8b71bd6166ca24695a8ecd
qemublocktest: Add 'snapshots' tests for block commit bitmap handling

Simulate commit between all the combinations of layers in the
'snapshots' case to see whether the code merges the correct bitmaps with
the correct depth of temporary bitmaps.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
tests/qemublocktest.c
tests/qemublocktestdata/bitmapblockcommit/snapshots-1-2 [new file with mode: 0644]
tests/qemublocktestdata/bitmapblockcommit/snapshots-1-3 [new file with mode: 0644]
tests/qemublocktestdata/bitmapblockcommit/snapshots-1-4 [new file with mode: 0644]
tests/qemublocktestdata/bitmapblockcommit/snapshots-1-5 [new file with mode: 0644]
tests/qemublocktestdata/bitmapblockcommit/snapshots-2-3 [new file with mode: 0644]
tests/qemublocktestdata/bitmapblockcommit/snapshots-2-4 [new file with mode: 0644]
tests/qemublocktestdata/bitmapblockcommit/snapshots-2-5 [new file with mode: 0644]
tests/qemublocktestdata/bitmapblockcommit/snapshots-3-4 [new file with mode: 0644]
tests/qemublocktestdata/bitmapblockcommit/snapshots-3-5 [new file with mode: 0644]
tests/qemublocktestdata/bitmapblockcommit/snapshots-4-5 [new file with mode: 0644]