Merge tag 'v9.0.0-rc3'
[qemu/ar7.git] / tests / qemu-iotests / tests / image-fleecing.out
blobacfc89ff0e99de3c38b1ed45c687880e619df26d
1 === Test backup(sync=none) based fleecing ===
3 --- Setting up images ---
5 Done
7 --- Launching VM ---
9 Done
11 --- Setting up Fleecing Graph ---
13 {"return": {}}
14 {"return": {}}
16 --- Setting up NBD Export ---
18 {"return": {}}
19 {"return": {}}
21 --- Sanity Check ---
23 read -P0x5d 0 64k
24 read -P0xd5 1M 64k
25 read -P0xdc 32M 64k
26 read -P0xcd 0x3ff0000 64k
27 read -P0 0x00f8000 32k
28 read -P0 0x2010000 32k
29 read -P0 0x3fe0000 64k
31 --- Testing COW ---
33 write -P0xab 0 64k
34 {"return": ""}
35 write -P0xad 0x00f8000 64k
36 {"return": ""}
37 write -P0x1d 0x2008000 64k
38 {"return": ""}
39 write -P0xea 0x3fe0000 64k
40 {"return": ""}
42 --- Verifying Data ---
44 read -P0x5d 0 64k
45 read -P0xd5 1M 64k
46 read -P0xdc 32M 64k
47 read -P0xcd 0x3ff0000 64k
48 read -P0 0x00f8000 32k
49 read -P0 0x2010000 32k
50 read -P0 0x3fe0000 64k
52 --- Cleanup ---
54 {"return": {}}
55 {"return": {}}
56 {"data": {"device": "fleecing", "len": 67108864, "offset": 393216, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB_CANCELLED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
57 {"return": {}}
59 --- Confirming writes ---
61 read -P0xab 0 64k
62 read -P0xad 0x00f8000 64k
63 read -P0x1d 0x2008000 64k
64 read -P0xea 0x3fe0000 64k
65 read -P0xd5 0x108000 32k
66 read -P0xdc 32M 32k
67 read -P0xcd 0x3ff0000 64k
69 Done
70 === Test cbw-filter based fleecing ===
72 --- Setting up images ---
74 Done
76 --- Launching VM ---
78 Done
80 --- Setting up Fleecing Graph ---
82 {"return": {}}
83 {"return": {}}
84 {"return": {}}
86 --- Setting up NBD Export ---
88 {"return": {}}
89 {"return": {}}
91 --- Sanity Check ---
93 read -P0x5d 0 64k
94 read -P0xd5 1M 64k
95 read -P0xdc 32M 64k
96 read -P0xcd 0x3ff0000 64k
97 read -P0 0x00f8000 32k
98 read -P0 0x2010000 32k
99 read -P0 0x3fe0000 64k
101 --- Testing COW ---
103 write -P0xab 0 64k
104 {"return": ""}
105 write -P0xad 0x00f8000 64k
106 {"return": ""}
107 write -P0x1d 0x2008000 64k
108 {"return": ""}
109 write -P0xea 0x3fe0000 64k
110 {"return": ""}
112 --- Verifying Data ---
114 read -P0x5d 0 64k
115 read -P0xd5 1M 64k
116 read -P0xdc 32M 64k
117 read -P0xcd 0x3ff0000 64k
118 read -P0 0x00f8000 32k
119 read -P0 0x2010000 32k
120 read -P0 0x3fe0000 64k
122 --- Cleanup ---
124 {"return": {}}
125 {"return": {}}
126 {"return": {}}
127 {"return": {}}
129 --- Confirming writes ---
131 read -P0xab 0 64k
132 read -P0xad 0x00f8000 64k
133 read -P0x1d 0x2008000 64k
134 read -P0xea 0x3fe0000 64k
135 read -P0xd5 0x108000 32k
136 read -P0xdc 32M 32k
137 read -P0xcd 0x3ff0000 64k
139 Done
140 === Test fleecing-format based fleecing ===
142 --- Setting up images ---
144 Done
146 --- Launching VM ---
148 Done
150 --- Setting up Fleecing Graph ---
152 {"return": {}}
153 {"return": {}}
154 {"return": {}}
155 {"return": {}}
157 --- Setting up NBD Export ---
159 {"return": {}}
160 {"return": {}}
162 --- Sanity Check ---
164 read -P0x5d 0 64k
165 read -P0xd5 1M 64k
166 read -P0xdc 32M 64k
167 read -P0xcd 0x3ff0000 64k
168 read -P0 0x00f8000 32k
169 read -P0 0x2010000 32k
170 read -P0 0x3fe0000 64k
172 --- Testing COW ---
174 write -P0xab 0 64k
175 {"return": ""}
176 write -P0xad 0x00f8000 64k
177 {"return": ""}
178 write -P0x1d 0x2008000 64k
179 {"return": ""}
180 write -P0xea 0x3fe0000 64k
181 {"return": ""}
183 --- Verifying Data ---
185 read -P0x5d 0 64k
186 read -P0xd5 1M 64k
187 read -P0xdc 32M 64k
188 read -P0xcd 0x3ff0000 64k
189 read -P0 0x00f8000 32k
190 read -P0 0x2010000 32k
191 read -P0 0x3fe0000 64k
193 --- Cleanup ---
195 {"return": {}}
196 {"return": {}}
197 {"return": {}}
198 {"return": {}}
199 {"return": {}}
201 --- Confirming writes ---
203 read -P0xab 0 64k
204 read -P0xad 0x00f8000 64k
205 read -P0x1d 0x2008000 64k
206 read -P0xea 0x3fe0000 64k
207 read -P0xd5 0x108000 32k
208 read -P0xdc 32M 32k
209 read -P0xcd 0x3ff0000 64k
211 Done
212 === Test fleecing-format based fleecing with bitmap ===
214 --- Setting up images ---
216 Done
218 --- Launching VM ---
220 Done
222 --- Setting up Fleecing Graph ---
224 {"return": {}}
225 {"return": {}}
226 {"return": {}}
227 {"return": {}}
229 --- Setting up NBD Export ---
231 {"return": {}}
232 {"return": {}}
234 --- Sanity Check ---
236 read -P0x5d 0 64k
237 read -P0xd5 1M 64k
238 read -P0xdc 32M 64k
239 read -P0xcd 0x3ff0000 64k
240 read -P0 0x00f8000 32k
241 read failed: Invalid argument
243 read -P0 0x2010000 32k
244 read failed: Invalid argument
246 read -P0 0x3fe0000 64k
247 read failed: Invalid argument
250 --- Testing COW ---
252 write -P0xab 0 64k
253 {"return": ""}
254 write -P0xad 0x00f8000 64k
255 {"return": ""}
256 write -P0x1d 0x2008000 64k
257 {"return": ""}
258 write -P0xea 0x3fe0000 64k
259 {"return": ""}
261 --- Verifying Data ---
263 read -P0x5d 0 64k
264 read -P0xd5 1M 64k
265 read -P0xdc 32M 64k
266 read -P0xcd 0x3ff0000 64k
267 read -P0 0x00f8000 32k
268 read failed: Invalid argument
270 read -P0 0x2010000 32k
271 read failed: Invalid argument
273 read -P0 0x3fe0000 64k
274 read failed: Invalid argument
277 --- Cleanup ---
279 {"return": {}}
280 {"return": {}}
281 {"return": {}}
282 {"return": {}}
283 {"return": {}}
285 --- Confirming writes ---
287 read -P0xab 0 64k
288 read -P0xad 0x00f8000 64k
289 read -P0x1d 0x2008000 64k
290 read -P0xea 0x3fe0000 64k
291 read -P0xd5 0x108000 32k
292 read -P0xdc 32M 32k
293 read -P0xcd 0x3ff0000 64k
295 Done
296 === Test push backup with fleecing ===
298 --- Setting up images ---
300 Done
302 --- Launching VM ---
304 Done
306 --- Setting up Fleecing Graph ---
308 {"return": {}}
309 {"return": {}}
310 {"return": {}}
311 {"return": {}}
313 --- Starting actual backup ---
315 {"return": {}}
316 {"return": {}}
318 --- Testing COW ---
320 write -P0xab 0 64k
321 {"return": ""}
322 write -P0xad 0x00f8000 64k
323 {"return": ""}
324 write -P0x1d 0x2008000 64k
325 {"return": ""}
326 write -P0xea 0x3fe0000 64k
327 {"return": ""}
328 {"data": {"device": "push-backup", "len": 67108864, "offset": 67108864, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
329 {"return": {}}
331 --- Verifying Data ---
333 read -P0x5d 0 64k
334 read -P0xd5 1M 64k
335 read -P0xdc 32M 64k
336 read -P0xcd 0x3ff0000 64k
337 read -P0 0x00f8000 32k
338 read -P0 0x2010000 32k
339 read -P0 0x3fe0000 64k
341 --- Cleanup ---
343 {"return": {}}
344 {"return": {}}
345 {"return": {}}
346 {"return": {}}
348 --- Confirming writes ---
350 read -P0xab 0 64k
351 read -P0xad 0x00f8000 64k
352 read -P0x1d 0x2008000 64k
353 read -P0xea 0x3fe0000 64k
354 read -P0xd5 0x108000 32k
355 read -P0xdc 32M 32k
356 read -P0xcd 0x3ff0000 64k
358 Done