migration: rename 'pos' field in QEMUFile to 'bytes_processed'
[qemu/kevin.git] / tests / qemu-iotests / 185.out
blob70e8dd6c876a1981b2fba25255aa8eacef717904
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                       'x-perf': {'max-chunk': 65536} } }
93 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
94 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}}
95 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}}
96 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "paused", "id": "disk"}}
97 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}}
98 {"return": {}}
99 { 'execute': 'quit' }
100 {"return": {}}
101 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
102 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 67108864, "offset": 65536, "speed": 65536, "type": "backup"}}
104 === Start streaming job and exit qemu ===
106 { 'execute': 'qmp_capabilities' }
107 {"return": {}}
108 { 'execute': 'block-stream',
109        'arguments': { 'device': 'disk',
110                       'speed': 65536 } }
111 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}}
112 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}}
113 {"return": {}}
114 { 'execute': 'quit' }
115 {"return": {}}
116 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
117 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 67108864, "offset": 524288, "speed": 65536, "type": "stream"}}
118 No errors were found on the image.
120 === Start mirror to throttled QSD and exit qemu ===
122 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
123 {"execute": "qmp_capabilities"}
124 {"return": {}}
125 {"execute": "blockdev-mirror",
126       "arguments": {
127           "job-id": "mirror",
128           "device": "source-fmt",
129           "target": "target",
130           "sync": "top"
131       }}
132 {"return": {}}
133 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_READY", "data": {"device": "mirror", "len": 0, "offset": 0, "speed": 0, "type": "mirror"}}
134 --- Writing data to the virtio-blk device ---
135 {"execute": "quit"}
136 {"return": {}}
137 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
138 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "standby", "id": "mirror"}}
139 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "ready", "id": "mirror"}}
140 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "aborting", "id": "mirror"}}
141 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "mirror", "len": 33554432, "offset": (filtered), "speed": 0, "type": "mirror"}}
142 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "mirror"}}
143 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "mirror"}}
145 === Start active commit to throttled QSD and exit qemu ===
147 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
148 {"execute": "qmp_capabilities"}
149 {"return": {}}
150 {"execute": "block-commit",
151       "arguments": {
152           "job-id": "commit",
153           "device": "source-fmt"
154       }}
155 {"return": {}}
156 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_READY", "data": {"device": "commit", "len": 0, "offset": 0, "speed": 0, "type": "commit"}}
157 --- Writing data to the virtio-blk device ---
158 {"execute": "quit"}
159 {"return": {}}
160 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
161 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "standby", "id": "commit"}}
162 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "ready", "id": "commit"}}
163 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "aborting", "id": "commit"}}
164 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "commit", "len": 33554432, "offset": (filtered), "speed": 0, "type": "commit"}}
165 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "commit"}}
166 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "commit"}}
167 *** done