]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: qemublock: Add synthetic snapshot+checkpoint test data
authorPeter Krempa <pkrempa@redhat.com>
Thu, 9 Jan 2020 14:32:49 +0000 (15:32 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 4 Feb 2020 12:45:32 +0000 (13:45 +0100)
commitd7d97e87afe00b58e23291cafb0ddb8aec3894d6
treed4f07acf7d622529d6d979bbccbfd5712f005ded
parent0cf33ab8f178846c0b961fbc4cc6a4e92d351310
tests: qemublock: Add synthetic snapshot+checkpoint test data

Add a faked qemu output which would simulate scenario where libvirt
would take a snapshot and checkpoint simultaneously. This is visible in
libvirt-2-format node where bitmap 'c' appears, but bitmap 'b' which is
active in the previous layer is not present.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemublocktest.c
tests/qemublocktestdata/bitmap/snapshots-synthetic-checkpoint.json [new file with mode: 0644]
tests/qemublocktestdata/bitmap/snapshots-synthetic-checkpoint.out [new file with mode: 0644]