Merge tag 'pull-request-2024-02-23' of https://gitlab.com/thuth/qemu into staging
[qemu/kevin.git] / tests / qemu-iotests / 274.out
blobc2967335ca096d3dc4841b3629f8a5a16b670b9f
1 == Commit tests ==
2 wrote 2097152/2097152 bytes at offset 0
3 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
5 === Check visible data ===
6 read 1048576/1048576 bytes at offset 0
7 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
9 read 1048576/1048576 bytes at offset 1048576
10 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
12 === Checking allocation status ===
13 1048576/1048576 bytes allocated at offset 0 bytes
14 1048576/1048576 bytes allocated at offset 1 MiB
16 0/1048576 bytes allocated at offset 0 bytes
17 0/0 bytes allocated at offset 1 MiB
19 0/1048576 bytes allocated at offset 0 bytes
20 0/1048576 bytes allocated at offset 1 MiB
22 === Checking map ===
23 [{ "start": 0, "length": 2097152, "depth": 0, "present": true, "zero": false, "data": true, "compressed": false, "offset": 327680}]
25 Offset          Length          Mapped to       File
26 0               0x200000        0x50000         TEST_DIR/PID-base
28 [{ "start": 0, "length": 1048576, "depth": 1, "present": true, "zero": false, "data": true, "compressed": false, "offset": 327680}]
30 Offset          Length          Mapped to       File
31 0               0x100000        0x50000         TEST_DIR/PID-base
33 [{ "start": 0, "length": 1048576, "depth": 2, "present": true, "zero": false, "data": true, "compressed": false, "offset": 327680},
34 { "start": 1048576, "length": 1048576, "depth": 0, "present": false, "zero": true, "data": false, "compressed": false}]
36 Offset          Length          Mapped to       File
37 0               0x100000        0x50000         TEST_DIR/PID-base
39 === Testing qemu-img commit (top -> mid) ===
40 Image committed.
42 image: TEST_IMG
43 file format: IMGFMT
44 virtual size: 2 MiB (2097152 bytes)
45 cluster_size: 65536
46 backing file: TEST_DIR/PID-base
47 backing file format: IMGFMT
48 Format specific information:
49     compat: 1.1
50     compression type: COMPRESSION_TYPE
51     lazy refcounts: false
52     refcount bits: 16
53     corrupt: false
54     extended l2: false
56 read 1048576/1048576 bytes at offset 0
57 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
59 read 1048576/1048576 bytes at offset 1048576
60 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
62 === Testing HMP commit (top -> mid) ===
63 wrote 2097152/2097152 bytes at offset 0
64 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
66 {"execute": "human-monitor-command", "arguments": {"command-line": "commit drive0"}}
67 {"return": ""}
68 image: TEST_IMG
69 file format: IMGFMT
70 virtual size: 2 MiB (2097152 bytes)
71 cluster_size: 65536
72 backing file: TEST_DIR/PID-base
73 backing file format: IMGFMT
74 Format specific information:
75     compat: 1.1
76     compression type: COMPRESSION_TYPE
77     lazy refcounts: false
78     refcount bits: 16
79     corrupt: false
80     extended l2: false
82 read 1048576/1048576 bytes at offset 0
83 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
85 read 1048576/1048576 bytes at offset 1048576
86 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
88 === Testing QMP active commit (top -> mid) ===
89 wrote 2097152/2097152 bytes at offset 0
90 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
92 {"execute": "block-commit", "arguments": {"auto-dismiss": false, "base-node": "mid", "device": "top", "job-id": "job0"}}
93 {"return": {}}
94 {"execute": "job-complete", "arguments": {"id": "job0"}}
95 {"return": {}}
96 {"data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "commit"}, "event": "BLOCK_JOB_READY", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
97 {"data": {"device": "job0", "len": 0, "offset": 0, "speed": 0, "type": "commit"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
98 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
99 {"return": {}}
100 image: TEST_IMG
101 file format: IMGFMT
102 virtual size: 2 MiB (2097152 bytes)
103 cluster_size: 65536
104 backing file: TEST_DIR/PID-base
105 backing file format: IMGFMT
106 Format specific information:
107     compat: 1.1
108     compression type: COMPRESSION_TYPE
109     lazy refcounts: false
110     refcount bits: 16
111     corrupt: false
112     extended l2: false
114 read 1048576/1048576 bytes at offset 0
115 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
117 read 1048576/1048576 bytes at offset 1048576
118 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
120 === Testing qemu-img commit (top -> base) ===
121 wrote 2097152/2097152 bytes at offset 0
122 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
124 Image committed.
126 image: TEST_IMG
127 file format: IMGFMT
128 virtual size: 2 MiB (2097152 bytes)
129 cluster_size: 65536
130 Format specific information:
131     compat: 1.1
132     compression type: COMPRESSION_TYPE
133     lazy refcounts: false
134     refcount bits: 16
135     corrupt: false
136     extended l2: false
138 read 1048576/1048576 bytes at offset 0
139 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
141 read 1048576/1048576 bytes at offset 1048576
142 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
144 === Testing QMP active commit (top -> base) ===
145 wrote 2097152/2097152 bytes at offset 0
146 2 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
148 {"execute": "block-commit", "arguments": {"auto-dismiss": false, "base-node": "base", "device": "top", "job-id": "job0"}}
149 {"return": {}}
150 {"execute": "job-complete", "arguments": {"id": "job0"}}
151 {"return": {}}
152 {"data": {"device": "job0", "len": 1048576, "offset": 1048576, "speed": 0, "type": "commit"}, "event": "BLOCK_JOB_READY", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
153 {"data": {"device": "job0", "len": 1048576, "offset": 1048576, "speed": 0, "type": "commit"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
154 {"execute": "job-dismiss", "arguments": {"id": "job0"}}
155 {"return": {}}
156 image: TEST_IMG
157 file format: IMGFMT
158 virtual size: 1 MiB (1048576 bytes)
159 cluster_size: 65536
160 backing file: TEST_DIR/PID-base
161 backing file format: IMGFMT
162 Format specific information:
163     compat: 1.1
164     compression type: COMPRESSION_TYPE
165     lazy refcounts: false
166     refcount bits: 16
167     corrupt: false
168     extended l2: false
170 read 1048576/1048576 bytes at offset 0
171 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
173 read 1048576/1048576 bytes at offset 1048576
174 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
176 == Resize tests ==
177 === preallocation=off ===
178 wrote 65536/65536 bytes at offset 5368709120
179 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
181 Image resized.
183 read 65536/65536 bytes at offset 5368709120
184 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
186 1 GiB (0x40000000) bytes not allocated at offset 0 bytes (0x0)
187 7 GiB (0x1c0000000) bytes     allocated at offset 1 GiB (0x40000000)
189 [{ "start": 0, "length": 1073741824, "depth": 1, "present": false, "zero": true, "data": false, "compressed": false},
190 { "start": 1073741824, "length": 7516192768, "depth": 0, "present": true, "zero": true, "data": false, "compressed": false}]
192 === preallocation=metadata ===
193 wrote 65536/65536 bytes at offset 33285996544
194 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
196 Image resized.
198 read 65536/65536 bytes at offset 33285996544
199 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
201 30 GiB (0x780000000) bytes not allocated at offset 0 bytes (0x0)
202 3 GiB (0xc0000000) bytes     allocated at offset 30 GiB (0x780000000)
204 [{ "start": 0, "length": 32212254720, "depth": 1, "present": false, "zero": true, "data": false, "compressed": false},
205 { "start": 32212254720, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": false, "compressed": false, "offset": 327680},
206 { "start": 32749125632, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": false, "compressed": false, "offset": 537264128},
207 { "start": 33285996544, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": false, "compressed": false, "offset": 1074200576},
208 { "start": 33822867456, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": false, "compressed": false, "offset": 1611137024},
209 { "start": 34359738368, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": false, "compressed": false, "offset": 2148139008},
210 { "start": 34896609280, "length": 536870912, "depth": 0, "present": true, "zero": true, "data": false, "compressed": false, "offset": 2685075456}]
212 === preallocation=falloc ===
213 wrote 65536/65536 bytes at offset 9437184
214 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
216 Image resized.
218 read 65536/65536 bytes at offset 9437184
219 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
221 5 MiB (0x500000) bytes not allocated at offset 0 bytes (0x0)
222 10 MiB (0xa00000) bytes     allocated at offset 5 MiB (0x500000)
224 [{ "start": 0, "length": 5242880, "depth": 1, "present": false, "zero": true, "data": false, "compressed": false},
225 { "start": 5242880, "length": 10485760, "depth": 0, "present": true, "zero": false, "data": true, "compressed": false, "offset": 327680}]
227 === preallocation=full ===
228 wrote 65536/65536 bytes at offset 11534336
229 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
231 Image resized.
233 read 65536/65536 bytes at offset 11534336
234 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
236 8 MiB (0x800000) bytes not allocated at offset 0 bytes (0x0)
237 4 MiB (0x400000) bytes     allocated at offset 8 MiB (0x800000)
239 [{ "start": 0, "length": 8388608, "depth": 1, "present": false, "zero": true, "data": false, "compressed": false},
240 { "start": 8388608, "length": 4194304, "depth": 0, "present": true, "zero": false, "data": true, "compressed": false, "offset": 327680}]
242 === preallocation=off ===
243 wrote 65536/65536 bytes at offset 259072
244 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
246 Image resized.
248 read 65536/65536 bytes at offset 259072
249 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
251 192 KiB (0x30000) bytes not allocated at offset 0 bytes (0x0)
252 320 KiB (0x50000) bytes     allocated at offset 192 KiB (0x30000)
254 [{ "start": 0, "length": 196608, "depth": 1, "present": false, "zero": true, "data": false, "compressed": false},
255 { "start": 196608, "length": 65536, "depth": 0, "present": true, "zero": false, "data": true, "compressed": false, "offset": 327680},
256 { "start": 262144, "length": 262144, "depth": 0, "present": true, "zero": true, "data": false, "compressed": false}]
258 === preallocation=off ===
259 wrote 65536/65536 bytes at offset 344064
260 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
262 Image resized.
264 read 65536/65536 bytes at offset 344064
265 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
267 256 KiB (0x40000) bytes not allocated at offset 0 bytes (0x0)
268 256 KiB (0x40000) bytes     allocated at offset 256 KiB (0x40000)
270 [{ "start": 0, "length": 262144, "depth": 1, "present": false, "zero": true, "data": false, "compressed": false},
271 { "start": 262144, "length": 262144, "depth": 0, "present": true, "zero": true, "data": false, "compressed": false}]
273 === preallocation=off ===
274 wrote 65536/65536 bytes at offset 446464
275 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
277 Image resized.
279 read 65536/65536 bytes at offset 446464
280 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
282 256 KiB (0x40000) bytes not allocated at offset 0 bytes (0x0)
283 244 KiB (0x3d000) bytes     allocated at offset 256 KiB (0x40000)
285 [{ "start": 0, "length": 262144, "depth": 1, "present": false, "zero": true, "data": false, "compressed": false},
286 { "start": 262144, "length": 249856, "depth": 0, "present": true, "zero": true, "data": false, "compressed": false}]