]>
Commit | Line | Data |
---|---|---|
a2aa8b07 AG |
1 | QA output created by 249 |
2 | Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=1048576 | |
b66ff2c2 EB |
3 | Formatting 'TEST_DIR/t.IMGFMT.int', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT |
4 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.int backing_fmt=IMGFMT | |
a98b1a1f | 5 | { 'execute': 'qmp_capabilities' } |
a2aa8b07 AG |
6 | {"return": {}} |
7 | ||
8 | === Send a write command to a drive opened in read-only mode (1) | |
9 | ||
0e720781 HR |
10 | { 'execute': 'human-monitor-command', |
11 | 'arguments': {'command-line': 'qemu-io none0 "aio_write 0 2k"'}} | |
a2aa8b07 AG |
12 | {"return": "Block node is read-onlyrn"} |
13 | ||
14 | === Run block-commit on base using an invalid filter node name | |
15 | ||
0e720781 HR |
16 | { 'execute': 'block-commit', |
17 | 'arguments': {'job-id': 'job0', 'device': 'none1', 'top-node': 'int', | |
18 | 'filter-node-name': '1234'}} | |
a2aa8b07 AG |
19 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "job0"}} |
20 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "job0"}} | |
785ec4b1 | 21 | {"error": {"class": "GenericError", "desc": "Invalid node-name: '1234'"}} |
a2aa8b07 AG |
22 | |
23 | === Send a write command to a drive opened in read-only mode (2) | |
24 | ||
0e720781 HR |
25 | { 'execute': 'human-monitor-command', |
26 | 'arguments': {'command-line': 'qemu-io none0 "aio_write 0 2k"'}} | |
a2aa8b07 AG |
27 | {"return": "Block node is read-onlyrn"} |
28 | ||
29 | === Run block-commit on base using the default filter node name | |
30 | ||
0e720781 HR |
31 | { 'execute': 'block-commit', |
32 | 'arguments': {'job-id': 'job0', 'device': 'none1', 'top-node': 'int'}} | |
a2aa8b07 AG |
33 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "job0"}} |
34 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "job0"}} | |
35 | {"return": {}} | |
36 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "job0"}} | |
37 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pending", "id": "job0"}} | |
38 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "job0", "len": 1048576, "offset": 1048576, "speed": 0, "type": "commit"}} | |
39 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "job0"}} | |
40 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "job0"}} | |
41 | ||
42 | === Send a write command to a drive opened in read-only mode (3) | |
43 | ||
0e720781 HR |
44 | { 'execute': 'human-monitor-command', |
45 | 'arguments': {'command-line': 'qemu-io none0 "aio_write 0 2k"'}} | |
a2aa8b07 AG |
46 | {"return": "Block node is read-onlyrn"} |
47 | *** done |