xref: /openbmc/qemu/tests/qemu-iotests/161.out (revision 05caa062)
1QA output created by 161
2Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=1048576
3Formatting 'TEST_DIR/t.IMGFMT.int', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
4Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.int backing_fmt=IMGFMT
5
6*** Change an option on the backing file
7
8{ 'execute': 'qmp_capabilities' }
9{"return": {}}
10{ 'execute': 'human-monitor-command',
11       'arguments': { 'command-line':
12                      'qemu-io none0 "reopen -o backing.detect-zeroes=on"' } }
13{"return": ""}
14
15*** Stream and then change an option on the backing file
16
17{ 'execute': 'qmp_capabilities' }
18{"return": {}}
19{ 'execute': 'block-stream',        'arguments': { 'device': 'none0',
20                      'base': 'TEST_DIR/t.IMGFMT.base' } }
21{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "none0"}}
22{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "none0"}}
23{"return": {}}
24{ 'execute': 'human-monitor-command',
25       'arguments': { 'command-line':
26                      'qemu-io none0 "reopen -o backing.detect-zeroes=on"' } }
27{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "none0"}}
28{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pending", "id": "none0"}}
29{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "none0", "len": 1048576, "offset": 1048576, "speed": 0, "type": "stream"}}
30{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "none0"}}
31{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "none0"}}
32{"return": ""}
33
34*** Commit and then change an option on the backing file
35
36Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=1048576
37Formatting 'TEST_DIR/t.IMGFMT.int', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
38Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.int backing_fmt=IMGFMT
39{ 'execute': 'qmp_capabilities' }
40{"return": {}}
41{ 'execute': 'block-commit',        'arguments': { 'device': 'none0',
42                      'top': 'TEST_DIR/t.IMGFMT.int' } }
43{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "none0"}}
44{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "none0"}}
45{"return": {}}
46{ 'execute': 'human-monitor-command',
47       'arguments': { 'command-line':
48                      'qemu-io none0 "reopen -o backing.detect-zeroes=on"' } }
49{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "none0"}}
50{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pending", "id": "none0"}}
51{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "none0", "len": 1048576, "offset": 1048576, "speed": 0, "type": "commit"}}
52{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "none0"}}
53{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "none0"}}
54{"return": ""}
55*** done
56