10065c455SAlberto GarciaQA output created by 161 20065c455SAlberto GarciaFormatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=1048576 3*b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT.int', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT 4*b66ff2c2SEric 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": {}} 10a98b1a1fSEric Blake{ 'execute': 'human-monitor-command', 'arguments': { 'command-line': 'qemu-io none0 "reopen -o backing.detect-zeroes=on"' } } 110065c455SAlberto Garcia{"return": ""} 120065c455SAlberto Garcia 130065c455SAlberto Garcia*** Stream and then change an option on the backing file 140065c455SAlberto Garcia 15a98b1a1fSEric Blake{ 'execute': 'qmp_capabilities' } 160065c455SAlberto Garcia{"return": {}} 17a98b1a1fSEric Blake{ 'execute': 'block-stream', 'arguments': { 'device': 'none0', 'base': 'TEST_DIR/t.IMGFMT.base' } } 180065c455SAlberto Garcia{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "none0"}} 190065c455SAlberto Garcia{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "none0"}} 200065c455SAlberto Garcia{"return": {}} 21a98b1a1fSEric Blake{ 'execute': 'human-monitor-command', 'arguments': { 'command-line': 'qemu-io none0 "reopen -o backing.detect-zeroes=on"' } } 220065c455SAlberto Garcia{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "none0"}} 230065c455SAlberto Garcia{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pending", "id": "none0"}} 240065c455SAlberto Garcia{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "none0", "len": 1048576, "offset": 1048576, "speed": 0, "type": "stream"}} 250065c455SAlberto Garcia{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "none0"}} 260065c455SAlberto Garcia{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "none0"}} 270065c455SAlberto Garcia{"return": ""} 286bd858b3SAlberto Garcia 296bd858b3SAlberto Garcia*** Commit and then change an option on the backing file 306bd858b3SAlberto Garcia 316bd858b3SAlberto GarciaFormatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=1048576 32*b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT.int', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT 33*b66ff2c2SEric BlakeFormatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1048576 backing_file=TEST_DIR/t.IMGFMT.int backing_fmt=IMGFMT 34a98b1a1fSEric Blake{ 'execute': 'qmp_capabilities' } 356bd858b3SAlberto Garcia{"return": {}} 36a98b1a1fSEric Blake{ 'execute': 'block-commit', 'arguments': { 'device': 'none0', 'top': 'TEST_DIR/t.IMGFMT.int' } } 376bd858b3SAlberto Garcia{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "none0"}} 386bd858b3SAlberto Garcia{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "none0"}} 396bd858b3SAlberto Garcia{"return": {}} 40a98b1a1fSEric Blake{ 'execute': 'human-monitor-command', 'arguments': { 'command-line': 'qemu-io none0 "reopen -o backing.detect-zeroes=on"' } } 416bd858b3SAlberto Garcia{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "none0"}} 426bd858b3SAlberto Garcia{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pending", "id": "none0"}} 436bd858b3SAlberto Garcia{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "none0", "len": 1048576, "offset": 1048576, "speed": 0, "type": "commit"}} 446bd858b3SAlberto Garcia{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "none0"}} 456bd858b3SAlberto Garcia{"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "none0"}} 466bd858b3SAlberto Garcia{"return": ""} 470065c455SAlberto Garcia*** done 48