mirror of https://gitee.com/openkylin/libvirt.git
tests: qemublock: Add tests for cross-snapshot incremental backups
Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
450888d96b
commit
9851a0f390
|
@ -939,6 +939,10 @@ mymain(void)
|
|||
TEST_BACKUP_BITMAP_CALCULATE("basic-intermediate", bitmapSourceChain, "d", "basic");
|
||||
TEST_BACKUP_BITMAP_CALCULATE("basic-deep", bitmapSourceChain, "a", "basic");
|
||||
|
||||
TEST_BACKUP_BITMAP_CALCULATE("snapshot-flat", bitmapSourceChain, "current", "snapshots");
|
||||
TEST_BACKUP_BITMAP_CALCULATE("snapshot-intermediate", bitmapSourceChain, "d", "snapshots");
|
||||
TEST_BACKUP_BITMAP_CALCULATE("snapshot-deep", bitmapSourceChain, "a", "snapshots");
|
||||
|
||||
cleanup:
|
||||
virHashFree(diskxmljsondata.schema);
|
||||
qemuTestDriverFree(&driver);
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
[
|
||||
{
|
||||
"node": "libvirt-1-format",
|
||||
"name": "current"
|
||||
},
|
||||
{
|
||||
"node": "libvirt-1-format",
|
||||
"name": "d"
|
||||
},
|
||||
{
|
||||
"node": "libvirt-2-format",
|
||||
"name": "d"
|
||||
},
|
||||
{
|
||||
"node": "libvirt-2-format",
|
||||
"name": "c"
|
||||
},
|
||||
{
|
||||
"node": "libvirt-3-format",
|
||||
"name": "c"
|
||||
},
|
||||
{
|
||||
"node": "libvirt-3-format",
|
||||
"name": "b"
|
||||
},
|
||||
{
|
||||
"node": "libvirt-3-format",
|
||||
"name": "a"
|
||||
},
|
||||
{
|
||||
"node": "libvirt-4-format",
|
||||
"name": "a"
|
||||
},
|
||||
{
|
||||
"node": "libvirt-5-format",
|
||||
"name": "a"
|
||||
}
|
||||
]
|
|
@ -0,0 +1,6 @@
|
|||
[
|
||||
{
|
||||
"node": "libvirt-1-format",
|
||||
"name": "current"
|
||||
}
|
||||
]
|
|
@ -0,0 +1,14 @@
|
|||
[
|
||||
{
|
||||
"node": "libvirt-1-format",
|
||||
"name": "current"
|
||||
},
|
||||
{
|
||||
"node": "libvirt-1-format",
|
||||
"name": "d"
|
||||
},
|
||||
{
|
||||
"node": "libvirt-2-format",
|
||||
"name": "d"
|
||||
}
|
||||
]
|
Loading…
Reference in New Issue