hmp: Fail gracefully if chardev is already in use
[qemu/ar7.git] / tests / qemu-iotests / 229.out
blob22350d75d7b1382831194b131a04ca92eca75021
1 QA output created by 229
2 Formatting 'TEST_DIR/b.IMGFMT', fmt=IMGFMT size=2097152
3 Formatting 'TEST_DIR/d.IMGFMT', fmt=IMGFMT size=1048576
4 wrote 2097152/2097152 bytes at offset 0
5 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
6 {'execute': 'qmp_capabilities'}
7 {"return": {}}
9 === Starting drive-mirror, causing error & stop  ===
11 {'execute': 'drive-mirror', 'arguments': {'device': 'testdisk', 'format': 'IMGFMT', 'target': 'TEST_DIR/d.IMGFMT', 'sync': 'full', 'mode': 'existing', 'on-source-error': 'stop', 'on-target-error': 'stop' }}
12 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "testdisk"}}
13 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "testdisk"}}
14 {"return": {}}
15 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_ERROR", "data": {"device": "testdisk", "operation": "write", "action": "stop"}}
16 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "paused", "id": "testdisk"}}
18 === Force cancel job paused in error state  ===
20 {'execute': 'block-job-cancel', 'arguments': { 'device': 'testdisk', 'force': true}}
21 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "testdisk"}}
22 {"return": {}}
23 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "aborting", "id": "testdisk"}}
24 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "testdisk", "len": 2097152, "offset": 1048576, "speed": 0, "type": "mirror"}}
25 *** done