qemu/tests/qemu-iotests/254.out
Vladimir Sementsov-Ogievskiy 403bb8185e 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>
2019-05-28 19:33:31 -04:00

53 lines
1.0 KiB
Plaintext

{"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"
}
]