xref: /openbmc/qemu/tests/qemu-iotests/249.out (revision 19418584)
1a2aa8b07SAlberto GarciaQA output created by 249
2a2aa8b07SAlberto GarciaFormatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=1048576
3b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT.int', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
4b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.int backing_fmt=IMGFMT
5a98b1a1fSEric Blake{ 'execute': 'qmp_capabilities' }
6a2aa8b07SAlberto Garcia{"return": {}}
7a2aa8b07SAlberto Garcia
8a2aa8b07SAlberto Garcia=== Send a write command to a drive opened in read-only mode (1)
9a2aa8b07SAlberto Garcia
100e720781SMax Reitz{ 'execute': 'human-monitor-command',
110e720781SMax Reitz       'arguments': {'command-line': 'qemu-io none0 "aio_write 0 2k"'}}
12a2aa8b07SAlberto Garcia{"return": "Block node is read-onlyrn"}
13a2aa8b07SAlberto Garcia
14a2aa8b07SAlberto Garcia=== Run block-commit on base using an invalid filter node name
15a2aa8b07SAlberto Garcia
160e720781SMax Reitz{ 'execute': 'block-commit',
170e720781SMax Reitz       'arguments': {'job-id': 'job0', 'device': 'none1', 'top-node': 'int',
180e720781SMax Reitz                     'filter-node-name': '1234'}}
19a2aa8b07SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "job0"}}
20a2aa8b07SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "job0"}}
21*785ec4b1SConnor Kuehl{"error": {"class": "GenericError", "desc": "Invalid node-name: '1234'"}}
22a2aa8b07SAlberto Garcia
23a2aa8b07SAlberto Garcia=== Send a write command to a drive opened in read-only mode (2)
24a2aa8b07SAlberto Garcia
250e720781SMax Reitz{ 'execute': 'human-monitor-command',
260e720781SMax Reitz       'arguments': {'command-line': 'qemu-io none0 "aio_write 0 2k"'}}
27a2aa8b07SAlberto Garcia{"return": "Block node is read-onlyrn"}
28a2aa8b07SAlberto Garcia
29a2aa8b07SAlberto Garcia=== Run block-commit on base using the default filter node name
30a2aa8b07SAlberto Garcia
310e720781SMax Reitz{ 'execute': 'block-commit',
320e720781SMax Reitz       'arguments': {'job-id': 'job0', 'device': 'none1', 'top-node': 'int'}}
33a2aa8b07SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "job0"}}
34a2aa8b07SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "job0"}}
35a2aa8b07SAlberto Garcia{"return": {}}
36a2aa8b07SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "job0"}}
37a2aa8b07SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pending", "id": "job0"}}
38a2aa8b07SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "job0", "len": 1048576, "offset": 1048576, "speed": 0, "type": "commit"}}
39a2aa8b07SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "job0"}}
40a2aa8b07SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "job0"}}
41a2aa8b07SAlberto Garcia
42a2aa8b07SAlberto Garcia=== Send a write command to a drive opened in read-only mode (3)
43a2aa8b07SAlberto Garcia
440e720781SMax Reitz{ 'execute': 'human-monitor-command',
450e720781SMax Reitz       'arguments': {'command-line': 'qemu-io none0 "aio_write 0 2k"'}}
46a2aa8b07SAlberto Garcia{"return": "Block node is read-onlyrn"}
47a2aa8b07SAlberto Garcia*** done
48