iotests: Fix _send_qemu_cmd with bash 5.1
[qemu/kevin.git] / tests / qemu-iotests / 185.out
blobeab55d22bf207624dba390a1c0bc47fb56434bf0
1 QA output created by 185
2 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
4 === Starting VM ===
6 { 'execute': 'qmp_capabilities' }
7 {"return": {}}
9 === Creating backing chain ===
11 { 'execute': 'blockdev-snapshot-sync',
12        'arguments': { 'device': 'disk',
13                       'snapshot-file': 'TEST_DIR/t.IMGFMT.mid',
14                       'format': 'IMGFMT',
15                       'mode': 'absolute-paths' } }
16 Formatting 'TEST_DIR/t.qcow2.mid', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 backing_file=TEST_DIR/t.qcow2.base backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
17 {"return": {}}
18 { 'execute': 'human-monitor-command',
19        'arguments': { 'command-line':
20                       'qemu-io disk "write 0 4M"' } }
21 wrote 4194304/4194304 bytes at offset 0
22 4 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
23 {"return": ""}
24 { 'execute': 'blockdev-snapshot-sync',
25        'arguments': { 'device': 'disk',
26                       'snapshot-file': 'TEST_DIR/t.IMGFMT',
27                       'format': 'IMGFMT',
28                       'mode': 'absolute-paths' } }
29 Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 backing_file=TEST_DIR/t.qcow2.mid backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
30 {"return": {}}
32 === Start commit job and exit qemu ===
34 { 'execute': 'block-commit',
35        'arguments': { 'device': 'disk',
36                       'base':'TEST_DIR/t.IMGFMT.base',
37                       'top': 'TEST_DIR/t.IMGFMT.mid',
38                       'speed': 65536 } }
39 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}}
40 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}}
41 {"return": {}}
42 { 'execute': 'quit' }
43 {"return": {}}
44 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
45 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 67108864, "offset": 524288, "speed": 65536, "type": "commit"}}
47 === Start active commit job and exit qemu ===
49 { 'execute': 'qmp_capabilities' }
50 {"return": {}}
51 { 'execute': 'block-commit',
52        'arguments': { 'device': 'disk',
53                       'base':'TEST_DIR/t.IMGFMT.base',
54                       'speed': 65536 } }
55 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}}
56 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}}
57 {"return": {}}
58 { 'execute': 'quit' }
59 {"return": {}}
60 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
61 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 4194304, "offset": 4194304, "speed": 65536, "type": "commit"}}
63 === Start mirror job and exit qemu ===
65 { 'execute': 'qmp_capabilities' }
66 {"return": {}}
67 { 'execute': 'drive-mirror',
68        'arguments': { 'device': 'disk',
69                       'target': 'TEST_DIR/t.IMGFMT.copy',
70                       'format': 'IMGFMT',
71                       'sync': 'full',
72                       'speed': 65536 } }
73 Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 lazy_refcounts=off refcount_bits=16
74 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}}
75 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}}
76 {"return": {}}
77 { 'execute': 'quit' }
78 {"return": {}}
79 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
80 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 4194304, "offset": 4194304, "speed": 65536, "type": "mirror"}}
82 === Start backup job and exit qemu ===
84 { 'execute': 'qmp_capabilities' }
85 {"return": {}}
86 { 'execute': 'drive-backup',
87        'arguments': { 'device': 'disk',
88                       'target': 'TEST_DIR/t.IMGFMT.copy',
89                       'format': 'IMGFMT',
90                       'sync': 'full',
91                       'speed': 65536 } }
92 Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 lazy_refcounts=off refcount_bits=16
93 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}}
94 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}}
95 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "paused", "id": "disk"}}
96 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}}
97 {"return": {}}
98 { 'execute': 'quit' }
99 {"return": {}}
100 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
101 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 67108864, "offset": 65536, "speed": 65536, "type": "backup"}}
103 === Start streaming job and exit qemu ===
105 { 'execute': 'qmp_capabilities' }
106 {"return": {}}
107 { 'execute': 'block-stream',
108        'arguments': { 'device': 'disk',
109                       'speed': 65536 } }
110 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}}
111 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}}
112 {"return": {}}
113 { 'execute': 'quit' }
114 {"return": {}}
115 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
116 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 67108864, "offset": 524288, "speed": 65536, "type": "stream"}}
117 No errors were found on the image.
118 *** done