aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/254.out
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2019-05-28 19:33:31 -0400
committerJohn Snow <jsnow@redhat.com>2019-05-28 19:33:31 -0400
commit403bb8185ec18267fe47a0e304d26a17263572dc (patch)
treec567d144ae41fcc11d043d412124747575456301 /tests/qemu-iotests/254.out
parenteff0829b0710d60c1846eb99baeb47b2478a414a (diff)
downloadqemu-403bb8185ec18267fe47a0e304d26a17263572dc.zip
qemu-403bb8185ec18267fe47a0e304d26a17263572dc.tar.gz
qemu-403bb8185ec18267fe47a0e304d26a17263572dc.tar.bz2
iotests: test external snapshot with bitmap copying
This test shows that external snapshots and incremental backups are friends. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: John Snow <jsnow@redhat.com> Message-id: 20190517152111.206494-3-vsementsov@virtuozzo.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/254.out')
-rw-r--r--tests/qemu-iotests/254.out52
1 files changed, 52 insertions, 0 deletions
diff --git a/tests/qemu-iotests/254.out b/tests/qemu-iotests/254.out
new file mode 100644
index 0000000..d7394cf
--- /dev/null
+++ b/tests/qemu-iotests/254.out
@@ -0,0 +1,52 @@
+{"execute": "block-dirty-bitmap-add", "arguments": {"name": "bitmap0", "node": "drive0"}}
+{"return": {}}
+{
+ "execute": "transaction",
+ "arguments": {
+ "actions": [
+ {
+ "data": {
+ "device": "drive0",
+ "snapshot-file": "TEST_DIR/PID-top",
+ "snapshot-node-name": "snap"
+ },
+ "type": "blockdev-snapshot-sync"
+ },
+ {
+ "data": {
+ "name": "bitmap0",
+ "node": "snap"
+ },
+ "type": "block-dirty-bitmap-add"
+ },
+ {
+ "data": {
+ "bitmaps": [
+ {
+ "name": "bitmap0",
+ "node": "base"
+ }
+ ],
+ "node": "snap",
+ "target": "bitmap0"
+ },
+ "type": "block-dirty-bitmap-merge"
+ }
+ ]
+ }
+}
+{
+ "return": {}
+}
+query-block: device = drive0, node-name = snap, dirty-bitmaps:
+[
+ {
+ "busy": false,
+ "count": 524288,
+ "granularity": 65536,
+ "name": "bitmap0",
+ "persistent": false,
+ "recording": true,
+ "status": "active"
+ }
+]