xref: /openbmc/qemu/tests/qemu-iotests/161.out (revision 26f6b15e2636eb20cb6757093170341b22fe6fbc)
10065c455SAlberto GarciaQA output created by 161
20065c455SAlberto 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
50065c455SAlberto Garcia
60065c455SAlberto Garcia*** Change an option on the backing file
70065c455SAlberto Garcia
8a98b1a1fSEric Blake{ 'execute': 'qmp_capabilities' }
90065c455SAlberto Garcia{"return": {}}
10*0e720781SMax Reitz{ 'execute': 'human-monitor-command',
11*0e720781SMax Reitz       'arguments': { 'command-line':
12*0e720781SMax Reitz                      'qemu-io none0 "reopen -o backing.detect-zeroes=on"' } }
130065c455SAlberto Garcia{"return": ""}
140065c455SAlberto Garcia
150065c455SAlberto Garcia*** Stream and then change an option on the backing file
160065c455SAlberto Garcia
17a98b1a1fSEric Blake{ 'execute': 'qmp_capabilities' }
180065c455SAlberto Garcia{"return": {}}
19*0e720781SMax Reitz{ 'execute': 'block-stream',        'arguments': { 'device': 'none0',
20*0e720781SMax Reitz                      'base': 'TEST_DIR/t.IMGFMT.base' } }
210065c455SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "none0"}}
220065c455SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "none0"}}
230065c455SAlberto Garcia{"return": {}}
24*0e720781SMax Reitz{ 'execute': 'human-monitor-command',
25*0e720781SMax Reitz       'arguments': { 'command-line':
26*0e720781SMax Reitz                      'qemu-io none0 "reopen -o backing.detect-zeroes=on"' } }
270065c455SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "none0"}}
280065c455SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pending", "id": "none0"}}
290065c455SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "none0", "len": 1048576, "offset": 1048576, "speed": 0, "type": "stream"}}
300065c455SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "none0"}}
310065c455SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "none0"}}
320065c455SAlberto Garcia{"return": ""}
336bd858b3SAlberto Garcia
346bd858b3SAlberto Garcia*** Commit and then change an option on the backing file
356bd858b3SAlberto Garcia
366bd858b3SAlberto GarciaFormatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=1048576
37b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT.int', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT
38b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.int backing_fmt=IMGFMT
39a98b1a1fSEric Blake{ 'execute': 'qmp_capabilities' }
406bd858b3SAlberto Garcia{"return": {}}
41*0e720781SMax Reitz{ 'execute': 'block-commit',        'arguments': { 'device': 'none0',
42*0e720781SMax Reitz                      'top': 'TEST_DIR/t.IMGFMT.int' } }
436bd858b3SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "none0"}}
446bd858b3SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "none0"}}
456bd858b3SAlberto Garcia{"return": {}}
46*0e720781SMax Reitz{ 'execute': 'human-monitor-command',
47*0e720781SMax Reitz       'arguments': { 'command-line':
48*0e720781SMax Reitz                      'qemu-io none0 "reopen -o backing.detect-zeroes=on"' } }
496bd858b3SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "none0"}}
506bd858b3SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pending", "id": "none0"}}
516bd858b3SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "none0", "len": 1048576, "offset": 1048576, "speed": 0, "type": "commit"}}
526bd858b3SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "none0"}}
536bd858b3SAlberto Garcia{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "none0"}}
546bd858b3SAlberto Garcia{"return": ""}
550065c455SAlberto Garcia*** done
56