xref: /openbmc/qemu/tests/qemu-iotests/274.out (revision dd205025)
1== Commit tests ==
2Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=2097152 lazy_refcounts=off refcount_bits=16
3
4Formatting 'TEST_DIR/PID-mid', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1048576 backing_file=TEST_DIR/PID-base backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
5
6Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=2097152 backing_file=TEST_DIR/PID-mid backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
7
8wrote 2097152/2097152 bytes at offset 0
92 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
10
11=== Check visible data ===
12read 1048576/1048576 bytes at offset 0
131 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
14
15read 1048576/1048576 bytes at offset 1048576
161 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
17
18=== Checking allocation status ===
191048576/1048576 bytes allocated at offset 0 bytes
201048576/1048576 bytes allocated at offset 1 MiB
21
220/1048576 bytes allocated at offset 0 bytes
230/0 bytes allocated at offset 1 MiB
24
250/1048576 bytes allocated at offset 0 bytes
260/1048576 bytes allocated at offset 1 MiB
27
28=== Checking map ===
29[{ "start": 0, "length": 2097152, "depth": 0, "zero": false, "data": true, "offset": 327680}]
30
31Offset          Length          Mapped to       File
320               0x200000        0x50000         TEST_DIR/PID-base
33
34[{ "start": 0, "length": 1048576, "depth": 1, "zero": false, "data": true, "offset": 327680}]
35
36Offset          Length          Mapped to       File
370               0x100000        0x50000         TEST_DIR/PID-base
38
39[{ "start": 0, "length": 1048576, "depth": 2, "zero": false, "data": true, "offset": 327680},
40{ "start": 1048576, "length": 1048576, "depth": 0, "zero": true, "data": false}]
41
42Offset          Length          Mapped to       File
430               0x100000        0x50000         TEST_DIR/PID-base
44
45=== Testing qemu-img commit (top -> mid) ===
46Image committed.
47
48image: TEST_IMG
49file format: IMGFMT
50virtual size: 2 MiB (2097152 bytes)
51cluster_size: 65536
52backing file: TEST_DIR/PID-base
53backing file format: IMGFMT
54Format specific information:
55    compat: 1.1
56    compression type: zlib
57    lazy refcounts: false
58    refcount bits: 16
59    corrupt: false
60    extended l2: false
61
62read 1048576/1048576 bytes at offset 0
631 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
64
65read 1048576/1048576 bytes at offset 1048576
661 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
67
68=== Testing HMP commit (top -> mid) ===
69Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=2097152 lazy_refcounts=off refcount_bits=16
70
71Formatting 'TEST_DIR/PID-mid', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1048576 backing_file=TEST_DIR/PID-base backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
72
73Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=2097152 backing_file=TEST_DIR/PID-mid backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
74
75wrote 2097152/2097152 bytes at offset 0
762 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
77
78{"execute": "human-monitor-command", "arguments": {"command-line": "commit drive0"}}
79{"return": ""}
80image: TEST_IMG
81file format: IMGFMT
82virtual size: 2 MiB (2097152 bytes)
83cluster_size: 65536
84backing file: TEST_DIR/PID-base
85backing file format: IMGFMT
86Format specific information:
87    compat: 1.1
88    compression type: zlib
89    lazy refcounts: false
90    refcount bits: 16
91    corrupt: false
92    extended l2: false
93
94read 1048576/1048576 bytes at offset 0
951 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
96
97read 1048576/1048576 bytes at offset 1048576
981 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
99
100=== Testing QMP active commit (top -> mid) ===
101Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=2097152 lazy_refcounts=off refcount_bits=16
102
103Formatting 'TEST_DIR/PID-mid', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1048576 backing_file=TEST_DIR/PID-base backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
104
105Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=2097152 backing_file=TEST_DIR/PID-mid backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
106
107wrote 2097152/2097152 bytes at offset 0
1082 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
109
110{"execute": "block-commit", "arguments": {"auto-dismiss": false, "base-node": "mid", "device": "top", "job-id": "job0"}}
111{"return": {}}
112{"execute": "job-complete", "arguments": {"id": "job0"}}
113{"return": {}}
114{"data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "commit"}, "event": "BLOCK_JOB_READY", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
115{"data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "commit"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
116{"execute": "job-dismiss", "arguments": {"id": "job0"}}
117{"return": {}}
118image: TEST_IMG
119file format: IMGFMT
120virtual size: 2 MiB (2097152 bytes)
121cluster_size: 65536
122backing file: TEST_DIR/PID-base
123backing file format: IMGFMT
124Format specific information:
125    compat: 1.1
126    compression type: zlib
127    lazy refcounts: false
128    refcount bits: 16
129    corrupt: false
130    extended l2: false
131
132read 1048576/1048576 bytes at offset 0
1331 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
134
135read 1048576/1048576 bytes at offset 1048576
1361 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
137
138== Resize tests ==
139=== preallocation=off ===
140Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=6442450944 lazy_refcounts=off refcount_bits=16
141
142Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1073741824 backing_file=TEST_DIR/PID-base backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
143
144wrote 65536/65536 bytes at offset 5368709120
14564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
146
147Image resized.
148
149read 65536/65536 bytes at offset 5368709120
15064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
151
1521 GiB (0x40000000) bytes not allocated at offset 0 bytes (0x0)
1537 GiB (0x1c0000000) bytes     allocated at offset 1 GiB (0x40000000)
154
155[{ "start": 0, "length": 1073741824, "depth": 1, "zero": true, "data": false},
156{ "start": 1073741824, "length": 7516192768, "depth": 0, "zero": true, "data": false}]
157
158=== preallocation=metadata ===
159Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=34359738368 lazy_refcounts=off refcount_bits=16
160
161Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=32212254720 backing_file=TEST_DIR/PID-base backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
162
163wrote 65536/65536 bytes at offset 33285996544
16464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
165
166Image resized.
167
168read 65536/65536 bytes at offset 33285996544
16964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
170
17130 GiB (0x780000000) bytes not allocated at offset 0 bytes (0x0)
1723 GiB (0xc0000000) bytes     allocated at offset 30 GiB (0x780000000)
173
174[{ "start": 0, "length": 32212254720, "depth": 1, "zero": true, "data": false},
175{ "start": 32212254720, "length": 536870912, "depth": 0, "zero": true, "data": false, "offset": 327680},
176{ "start": 32749125632, "length": 536870912, "depth": 0, "zero": true, "data": false, "offset": 537264128},
177{ "start": 33285996544, "length": 536870912, "depth": 0, "zero": true, "data": false, "offset": 1074200576},
178{ "start": 33822867456, "length": 536870912, "depth": 0, "zero": true, "data": false, "offset": 1611137024},
179{ "start": 34359738368, "length": 536870912, "depth": 0, "zero": true, "data": false, "offset": 2148139008},
180{ "start": 34896609280, "length": 536870912, "depth": 0, "zero": true, "data": false, "offset": 2685075456}]
181
182=== preallocation=falloc ===
183Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=10485760 lazy_refcounts=off refcount_bits=16
184
185Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=5242880 backing_file=TEST_DIR/PID-base backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
186
187wrote 65536/65536 bytes at offset 9437184
18864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
189
190Image resized.
191
192read 65536/65536 bytes at offset 9437184
19364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
194
1955 MiB (0x500000) bytes not allocated at offset 0 bytes (0x0)
19610 MiB (0xa00000) bytes     allocated at offset 5 MiB (0x500000)
197
198[{ "start": 0, "length": 5242880, "depth": 1, "zero": true, "data": false},
199{ "start": 5242880, "length": 10485760, "depth": 0, "zero": false, "data": true, "offset": 327680}]
200
201=== preallocation=full ===
202Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=16777216 lazy_refcounts=off refcount_bits=16
203
204Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=8388608 backing_file=TEST_DIR/PID-base backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
205
206wrote 65536/65536 bytes at offset 11534336
20764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
208
209Image resized.
210
211read 65536/65536 bytes at offset 11534336
21264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
213
2148 MiB (0x800000) bytes not allocated at offset 0 bytes (0x0)
2154 MiB (0x400000) bytes     allocated at offset 8 MiB (0x800000)
216
217[{ "start": 0, "length": 8388608, "depth": 1, "zero": true, "data": false},
218{ "start": 8388608, "length": 4194304, "depth": 0, "zero": false, "data": true, "offset": 327680}]
219
220=== preallocation=off ===
221Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=393216 lazy_refcounts=off refcount_bits=16
222
223Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=259072 backing_file=TEST_DIR/PID-base backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
224
225wrote 65536/65536 bytes at offset 259072
22664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
227
228Image resized.
229
230read 65536/65536 bytes at offset 259072
23164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
232
233192 KiB (0x30000) bytes not allocated at offset 0 bytes (0x0)
234320 KiB (0x50000) bytes     allocated at offset 192 KiB (0x30000)
235
236[{ "start": 0, "length": 196608, "depth": 1, "zero": true, "data": false},
237{ "start": 196608, "length": 65536, "depth": 0, "zero": false, "data": true, "offset": 327680},
238{ "start": 262144, "length": 262144, "depth": 0, "zero": true, "data": false}]
239
240=== preallocation=off ===
241Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=409600 lazy_refcounts=off refcount_bits=16
242
243Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=262144 backing_file=TEST_DIR/PID-base backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
244
245wrote 65536/65536 bytes at offset 344064
24664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
247
248Image resized.
249
250read 65536/65536 bytes at offset 344064
25164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
252
253256 KiB (0x40000) bytes not allocated at offset 0 bytes (0x0)
254256 KiB (0x40000) bytes     allocated at offset 256 KiB (0x40000)
255
256[{ "start": 0, "length": 262144, "depth": 1, "zero": true, "data": false},
257{ "start": 262144, "length": 262144, "depth": 0, "zero": true, "data": false}]
258
259=== preallocation=off ===
260Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=524288 lazy_refcounts=off refcount_bits=16
261
262Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=262144 backing_file=TEST_DIR/PID-base backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16
263
264wrote 65536/65536 bytes at offset 446464
26564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
266
267Image resized.
268
269read 65536/65536 bytes at offset 446464
27064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
271
272256 KiB (0x40000) bytes not allocated at offset 0 bytes (0x0)
273244 KiB (0x3d000) bytes     allocated at offset 256 KiB (0x40000)
274
275[{ "start": 0, "length": 262144, "depth": 1, "zero": true, "data": false},
276{ "start": 262144, "length": 249856, "depth": 0, "zero": true, "data": false}]
277
278