xref: /openbmc/qemu/tests/qemu-iotests/283.out (revision 4921d0a7)
1{"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "target", "size": 1048576}}
2{"return": {}}
3{"execute": "blockdev-add", "arguments": {"driver": "blkdebug", "image": {"driver": "null-co", "node-name": "base", "size": 1048576}, "node-name": "source"}}
4{"return": {}}
5{"execute": "blockdev-add", "arguments": {"driver": "blkdebug", "image": "base", "node-name": "other", "take-child-perms": ["write"]}}
6{"return": {}}
7{"execute": "blockdev-backup", "arguments": {"device": "source", "job-id": "backup0", "sync": "full", "target": "target"}}
8{"error": {"class": "GenericError", "desc": "Permission conflict on node 'base': permissions 'write' are both required by node 'other' (uses node 'base' as 'image' child) and unshared by node 'source' (uses node 'base' as 'image' child)."}}
9
10=== copy-before-write filter should be gone after job-finalize ===
11
12{"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "source"}}
13{"return": {}}
14{"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "target"}}
15{"return": {}}
16{"execute": "blockdev-backup", "arguments": {"auto-dismiss": false, "auto-finalize": false, "device": "source", "filter-node-name": "backup-filter", "job-id": "backup", "sync": "full", "target": "target"}}
17{"return": {}}
18{"execute": "job-finalize", "arguments": {"id": "backup"}}
19{"return": {}}
20{"execute": "human-monitor-command", "arguments": {"command-line": "qemu-io backup-filter \"write 0 1M\""}}
21{"return": "Error: Cannot find device='' nor node-name='backup-filter'\r\n"}
22{"execute": "job-dismiss", "arguments": {"id": "backup"}}
23{"return": {}}
24