xref: /openbmc/qemu/tests/qemu-iotests/274.out (revision 7acafcfa)
1== Commit tests ==
2Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 compression_type=zlib size=2097152 lazy_refcounts=off refcount_bits=16
3
4Formatting 'TEST_DIR/PID-mid', fmt=qcow2 cluster_size=65536 compression_type=zlib size=1048576 backing_file=TEST_DIR/PID-base lazy_refcounts=off refcount_bits=16
5
6Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 compression_type=zlib size=2097152 backing_file=TEST_DIR/PID-mid 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
53Format specific information:
54    compat: 1.1
55    compression type: zlib
56    lazy refcounts: false
57    refcount bits: 16
58    corrupt: false
59
60read 1048576/1048576 bytes at offset 0
611 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
62
63read 1048576/1048576 bytes at offset 1048576
641 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
65
66=== Testing HMP commit (top -> mid) ===
67Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 compression_type=zlib size=2097152 lazy_refcounts=off refcount_bits=16
68
69Formatting 'TEST_DIR/PID-mid', fmt=qcow2 cluster_size=65536 compression_type=zlib size=1048576 backing_file=TEST_DIR/PID-base lazy_refcounts=off refcount_bits=16
70
71Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 compression_type=zlib size=2097152 backing_file=TEST_DIR/PID-mid lazy_refcounts=off refcount_bits=16
72
73wrote 2097152/2097152 bytes at offset 0
742 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
75
76{"execute": "human-monitor-command", "arguments": {"command-line": "commit drive0"}}
77{"return": ""}
78image: TEST_IMG
79file format: IMGFMT
80virtual size: 2 MiB (2097152 bytes)
81cluster_size: 65536
82backing file: TEST_DIR/PID-base
83Format specific information:
84    compat: 1.1
85    compression type: zlib
86    lazy refcounts: false
87    refcount bits: 16
88    corrupt: false
89
90read 1048576/1048576 bytes at offset 0
911 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
92
93read 1048576/1048576 bytes at offset 1048576
941 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
95
96=== Testing QMP active commit (top -> mid) ===
97Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 compression_type=zlib size=2097152 lazy_refcounts=off refcount_bits=16
98
99Formatting 'TEST_DIR/PID-mid', fmt=qcow2 cluster_size=65536 compression_type=zlib size=1048576 backing_file=TEST_DIR/PID-base lazy_refcounts=off refcount_bits=16
100
101Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 compression_type=zlib size=2097152 backing_file=TEST_DIR/PID-mid lazy_refcounts=off refcount_bits=16
102
103wrote 2097152/2097152 bytes at offset 0
1042 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
105
106{"execute": "block-commit", "arguments": {"auto-dismiss": false, "base-node": "mid", "device": "top", "job-id": "job0"}}
107{"return": {}}
108{"execute": "job-complete", "arguments": {"id": "job0"}}
109{"return": {}}
110{"data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "commit"}, "event": "BLOCK_JOB_READY", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
111{"data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "commit"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
112{"execute": "job-dismiss", "arguments": {"id": "job0"}}
113{"return": {}}
114image: TEST_IMG
115file format: IMGFMT
116virtual size: 2 MiB (2097152 bytes)
117cluster_size: 65536
118backing file: TEST_DIR/PID-base
119Format specific information:
120    compat: 1.1
121    compression type: zlib
122    lazy refcounts: false
123    refcount bits: 16
124    corrupt: false
125
126read 1048576/1048576 bytes at offset 0
1271 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
128
129read 1048576/1048576 bytes at offset 1048576
1301 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
131
132== Resize tests ==
133=== preallocation=off ===
134Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 compression_type=zlib size=6442450944 lazy_refcounts=off refcount_bits=16
135
136Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 compression_type=zlib size=1073741824 backing_file=TEST_DIR/PID-base lazy_refcounts=off refcount_bits=16
137
138wrote 65536/65536 bytes at offset 5368709120
13964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
140
141Image resized.
142
143read 65536/65536 bytes at offset 5368709120
14464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
145
1461 GiB (0x40000000) bytes not allocated at offset 0 bytes (0x0)
1477 GiB (0x1c0000000) bytes     allocated at offset 1 GiB (0x40000000)
148
149[{ "start": 0, "length": 1073741824, "depth": 1, "zero": true, "data": false},
150{ "start": 1073741824, "length": 7516192768, "depth": 0, "zero": true, "data": false}]
151
152=== preallocation=metadata ===
153Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 compression_type=zlib size=34359738368 lazy_refcounts=off refcount_bits=16
154
155Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 compression_type=zlib size=32212254720 backing_file=TEST_DIR/PID-base lazy_refcounts=off refcount_bits=16
156
157wrote 65536/65536 bytes at offset 33285996544
15864 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
159
160Image resized.
161
162read 65536/65536 bytes at offset 33285996544
16364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
164
16530 GiB (0x780000000) bytes not allocated at offset 0 bytes (0x0)
1663 GiB (0xc0000000) bytes     allocated at offset 30 GiB (0x780000000)
167
168[{ "start": 0, "length": 32212254720, "depth": 1, "zero": true, "data": false},
169{ "start": 32212254720, "length": 536870912, "depth": 0, "zero": true, "data": false, "offset": 327680},
170{ "start": 32749125632, "length": 536870912, "depth": 0, "zero": true, "data": false, "offset": 537264128},
171{ "start": 33285996544, "length": 536870912, "depth": 0, "zero": true, "data": false, "offset": 1074200576},
172{ "start": 33822867456, "length": 536870912, "depth": 0, "zero": true, "data": false, "offset": 1611137024},
173{ "start": 34359738368, "length": 536870912, "depth": 0, "zero": true, "data": false, "offset": 2148139008},
174{ "start": 34896609280, "length": 536870912, "depth": 0, "zero": true, "data": false, "offset": 2685075456}]
175
176=== preallocation=falloc ===
177Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 compression_type=zlib size=10485760 lazy_refcounts=off refcount_bits=16
178
179Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 compression_type=zlib size=5242880 backing_file=TEST_DIR/PID-base lazy_refcounts=off refcount_bits=16
180
181wrote 65536/65536 bytes at offset 9437184
18264 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
183
184Image resized.
185
186read 65536/65536 bytes at offset 9437184
18764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
188
1895 MiB (0x500000) bytes not allocated at offset 0 bytes (0x0)
19010 MiB (0xa00000) bytes     allocated at offset 5 MiB (0x500000)
191
192[{ "start": 0, "length": 5242880, "depth": 1, "zero": true, "data": false},
193{ "start": 5242880, "length": 10485760, "depth": 0, "zero": false, "data": true, "offset": 327680}]
194
195=== preallocation=full ===
196Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 compression_type=zlib size=16777216 lazy_refcounts=off refcount_bits=16
197
198Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 compression_type=zlib size=8388608 backing_file=TEST_DIR/PID-base lazy_refcounts=off refcount_bits=16
199
200wrote 65536/65536 bytes at offset 11534336
20164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
202
203Image resized.
204
205read 65536/65536 bytes at offset 11534336
20664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
207
2088 MiB (0x800000) bytes not allocated at offset 0 bytes (0x0)
2094 MiB (0x400000) bytes     allocated at offset 8 MiB (0x800000)
210
211[{ "start": 0, "length": 8388608, "depth": 1, "zero": true, "data": false},
212{ "start": 8388608, "length": 4194304, "depth": 0, "zero": false, "data": true, "offset": 327680}]
213
214=== preallocation=off ===
215Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 compression_type=zlib size=393216 lazy_refcounts=off refcount_bits=16
216
217Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 compression_type=zlib size=259072 backing_file=TEST_DIR/PID-base lazy_refcounts=off refcount_bits=16
218
219wrote 65536/65536 bytes at offset 259072
22064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
221
222Image resized.
223
224read 65536/65536 bytes at offset 259072
22564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
226
227192 KiB (0x30000) bytes not allocated at offset 0 bytes (0x0)
228320 KiB (0x50000) bytes     allocated at offset 192 KiB (0x30000)
229
230[{ "start": 0, "length": 196608, "depth": 1, "zero": true, "data": false},
231{ "start": 196608, "length": 65536, "depth": 0, "zero": false, "data": true, "offset": 327680},
232{ "start": 262144, "length": 262144, "depth": 0, "zero": true, "data": false}]
233
234=== preallocation=off ===
235Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 compression_type=zlib size=409600 lazy_refcounts=off refcount_bits=16
236
237Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 compression_type=zlib size=262144 backing_file=TEST_DIR/PID-base lazy_refcounts=off refcount_bits=16
238
239wrote 65536/65536 bytes at offset 344064
24064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
241
242Image resized.
243
244read 65536/65536 bytes at offset 344064
24564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
246
247256 KiB (0x40000) bytes not allocated at offset 0 bytes (0x0)
248256 KiB (0x40000) bytes     allocated at offset 256 KiB (0x40000)
249
250[{ "start": 0, "length": 262144, "depth": 1, "zero": true, "data": false},
251{ "start": 262144, "length": 262144, "depth": 0, "zero": true, "data": false}]
252
253=== preallocation=off ===
254Formatting 'TEST_DIR/PID-base', fmt=qcow2 cluster_size=65536 compression_type=zlib size=524288 lazy_refcounts=off refcount_bits=16
255
256Formatting 'TEST_DIR/PID-top', fmt=qcow2 cluster_size=65536 compression_type=zlib size=262144 backing_file=TEST_DIR/PID-base lazy_refcounts=off refcount_bits=16
257
258wrote 65536/65536 bytes at offset 446464
25964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
260
261Image resized.
262
263read 65536/65536 bytes at offset 446464
26464 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
265
266256 KiB (0x40000) bytes not allocated at offset 0 bytes (0x0)
267244 KiB (0x3d000) bytes     allocated at offset 256 KiB (0x40000)
268
269[{ "start": 0, "length": 262144, "depth": 1, "zero": true, "data": false},
270{ "start": 262144, "length": 249856, "depth": 0, "zero": true, "data": false}]
271
272