]> git.proxmox.com Git - mirror_qemu.git/blob - tests/qemu-iotests/153.out
i386: Update new x86_apicid parsing rules with die_offset support
[mirror_qemu.git] / tests / qemu-iotests / 153.out
1 QA output created by 153
2 == readonly=off,force-share=on should be rejected ==
3 QEMU_PROG: -drive if=none,file=null-co://,readonly=off,force-share=on: force-share=on can only be used with read-only images
4
5 == Creating base image ==
6 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=33554432
7
8 == Creating test image ==
9 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.base
10
11 == Launching QEMU, opts: '' ==
12
13 == Launching another QEMU, opts: '' ==
14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,: Failed to get "write" lock
15 Is another process using the image [TEST_DIR/t.qcow2]?
16
17 == Launching another QEMU, opts: 'read-only=on' ==
18 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,read-only=on: Failed to get shared "write" lock
19 Is another process using the image [TEST_DIR/t.qcow2]?
20
21 == Launching another QEMU, opts: 'read-only=on,force-share=on' ==
22
23 == Running utility commands ==
24
25 _qemu_io_wrapper -c read 0 512 TEST_DIR/t.qcow2
26 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
27 Is another process using the image [TEST_DIR/t.qcow2]?
28
29 _qemu_io_wrapper -r -c read 0 512 TEST_DIR/t.qcow2
30 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get shared "write" lock
31 Is another process using the image [TEST_DIR/t.qcow2]?
32
33 _qemu_io_wrapper -c open TEST_DIR/t.qcow2 -c read 0 512
34 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
35 Is another process using the image [TEST_DIR/t.qcow2]?
36 no file open, try 'help open'
37
38 _qemu_io_wrapper -c open -r TEST_DIR/t.qcow2 -c read 0 512
39 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get shared "write" lock
40 Is another process using the image [TEST_DIR/t.qcow2]?
41 no file open, try 'help open'
42
43 _qemu_img_wrapper info TEST_DIR/t.qcow2
44 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
45 Is another process using the image [TEST_DIR/t.qcow2]?
46
47 _qemu_img_wrapper check TEST_DIR/t.qcow2
48 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
49 Is another process using the image [TEST_DIR/t.qcow2]?
50
51 _qemu_img_wrapper compare TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
52 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
53 Is another process using the image [TEST_DIR/t.qcow2]?
54
55 _qemu_img_wrapper map TEST_DIR/t.qcow2
56 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
57 Is another process using the image [TEST_DIR/t.qcow2]?
58
59 _qemu_img_wrapper amend -o TEST_DIR/t.qcow2
60 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
61 Is another process using the image [TEST_DIR/t.qcow2]?
62
63 _qemu_img_wrapper commit TEST_DIR/t.qcow2
64 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
65 Is another process using the image [TEST_DIR/t.qcow2]?
66
67 _qemu_img_wrapper resize TEST_DIR/t.qcow2 32M
68 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
69 Is another process using the image [TEST_DIR/t.qcow2]?
70
71 _qemu_img_wrapper rebase TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
72 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
73 Is another process using the image [TEST_DIR/t.qcow2]?
74
75 _qemu_img_wrapper snapshot -l TEST_DIR/t.qcow2
76 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
77 Is another process using the image [TEST_DIR/t.qcow2]?
78
79 _qemu_img_wrapper convert TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
80 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
81 Is another process using the image [TEST_DIR/t.qcow2]?
82
83 _qemu_img_wrapper dd if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
84 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
85 Is another process using the image [TEST_DIR/t.qcow2]?
86
87 _qemu_img_wrapper bench -c 1 TEST_DIR/t.qcow2
88 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get shared "write" lock
89 Is another process using the image [TEST_DIR/t.qcow2]?
90
91 _qemu_img_wrapper bench -w -c 1 TEST_DIR/t.qcow2
92 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
93 Is another process using the image [TEST_DIR/t.qcow2]?
94
95 _qemu_img_wrapper create -f qcow2 TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
96 qemu-img: TEST_DIR/t.qcow2: Failed to get "write" lock
97 Is another process using the image [TEST_DIR/t.qcow2]?
98 file format: IMGFMT
99
100 == Running utility commands -U ==
101
102 _qemu_io_wrapper -U -c read 0 512 TEST_DIR/t.qcow2
103 qemu-io: can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
104
105 _qemu_io_wrapper -U -r -c read 0 512 TEST_DIR/t.qcow2
106
107 _qemu_io_wrapper -c open -U TEST_DIR/t.qcow2 -c read 0 512
108 qemu-io: can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
109 no file open, try 'help open'
110
111 _qemu_io_wrapper -c open -r -U TEST_DIR/t.qcow2 -c read 0 512
112
113 _qemu_img_wrapper info -U TEST_DIR/t.qcow2
114
115 _qemu_img_wrapper check -U TEST_DIR/t.qcow2
116
117 _qemu_img_wrapper compare -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
118
119 _qemu_img_wrapper map -U TEST_DIR/t.qcow2
120
121 _qemu_img_wrapper amend -o -U TEST_DIR/t.qcow2
122 qemu-img: unrecognized option '-U'
123 Try 'qemu-img --help' for more information
124
125 _qemu_img_wrapper commit -U TEST_DIR/t.qcow2
126 qemu-img: unrecognized option '-U'
127 Try 'qemu-img --help' for more information
128
129 _qemu_img_wrapper resize -U TEST_DIR/t.qcow2 32M
130 qemu-img: unrecognized option '-U'
131 Try 'qemu-img --help' for more information
132
133 _qemu_img_wrapper rebase -U TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
134 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
135 Is another process using the image [TEST_DIR/t.qcow2]?
136
137 _qemu_img_wrapper snapshot -l -U TEST_DIR/t.qcow2
138
139 _qemu_img_wrapper convert -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
140
141 _qemu_img_wrapper dd -U if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
142
143 _qemu_img_wrapper bench -U -c 1 TEST_DIR/t.qcow2
144
145 _qemu_img_wrapper bench -U -w -c 1 TEST_DIR/t.qcow2
146 qemu-img: Could not open 'TEST_DIR/t.qcow2': force-share=on can only be used with read-only images
147
148 Round done
149
150 == Creating base image ==
151 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=33554432
152
153 == Creating test image ==
154 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.base
155
156 == Launching QEMU, opts: 'read-only=on' ==
157
158 == Launching another QEMU, opts: '' ==
159 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,: Failed to get "write" lock
160 Is another process using the image [TEST_DIR/t.qcow2]?
161
162 == Launching another QEMU, opts: 'read-only=on' ==
163
164 == Launching another QEMU, opts: 'read-only=on,force-share=on' ==
165
166 == Running utility commands ==
167
168 _qemu_io_wrapper -c read 0 512 TEST_DIR/t.qcow2
169 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
170 Is another process using the image [TEST_DIR/t.qcow2]?
171
172 _qemu_io_wrapper -r -c read 0 512 TEST_DIR/t.qcow2
173
174 _qemu_io_wrapper -c open TEST_DIR/t.qcow2 -c read 0 512
175 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
176 Is another process using the image [TEST_DIR/t.qcow2]?
177 no file open, try 'help open'
178
179 _qemu_io_wrapper -c open -r TEST_DIR/t.qcow2 -c read 0 512
180
181 _qemu_img_wrapper info TEST_DIR/t.qcow2
182
183 _qemu_img_wrapper check TEST_DIR/t.qcow2
184
185 _qemu_img_wrapper compare TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
186
187 _qemu_img_wrapper map TEST_DIR/t.qcow2
188
189 _qemu_img_wrapper amend -o TEST_DIR/t.qcow2
190 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
191 Is another process using the image [TEST_DIR/t.qcow2]?
192
193 _qemu_img_wrapper commit TEST_DIR/t.qcow2
194 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
195 Is another process using the image [TEST_DIR/t.qcow2]?
196
197 _qemu_img_wrapper resize TEST_DIR/t.qcow2 32M
198 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
199 Is another process using the image [TEST_DIR/t.qcow2]?
200
201 _qemu_img_wrapper rebase TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
202 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
203 Is another process using the image [TEST_DIR/t.qcow2]?
204
205 _qemu_img_wrapper snapshot -l TEST_DIR/t.qcow2
206
207 _qemu_img_wrapper convert TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
208
209 _qemu_img_wrapper dd if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
210
211 _qemu_img_wrapper bench -c 1 TEST_DIR/t.qcow2
212
213 _qemu_img_wrapper bench -w -c 1 TEST_DIR/t.qcow2
214 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
215 Is another process using the image [TEST_DIR/t.qcow2]?
216
217 _qemu_img_wrapper create -f qcow2 TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
218 qemu-img: TEST_DIR/t.qcow2: Failed to get "write" lock
219 Is another process using the image [TEST_DIR/t.qcow2]?
220 file format: IMGFMT
221
222 == Running utility commands -U ==
223
224 _qemu_io_wrapper -U -c read 0 512 TEST_DIR/t.qcow2
225 qemu-io: can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
226
227 _qemu_io_wrapper -U -r -c read 0 512 TEST_DIR/t.qcow2
228
229 _qemu_io_wrapper -c open -U TEST_DIR/t.qcow2 -c read 0 512
230 qemu-io: can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
231 no file open, try 'help open'
232
233 _qemu_io_wrapper -c open -r -U TEST_DIR/t.qcow2 -c read 0 512
234
235 _qemu_img_wrapper info -U TEST_DIR/t.qcow2
236
237 _qemu_img_wrapper check -U TEST_DIR/t.qcow2
238
239 _qemu_img_wrapper compare -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
240
241 _qemu_img_wrapper map -U TEST_DIR/t.qcow2
242
243 _qemu_img_wrapper amend -o -U TEST_DIR/t.qcow2
244 qemu-img: unrecognized option '-U'
245 Try 'qemu-img --help' for more information
246
247 _qemu_img_wrapper commit -U TEST_DIR/t.qcow2
248 qemu-img: unrecognized option '-U'
249 Try 'qemu-img --help' for more information
250
251 _qemu_img_wrapper resize -U TEST_DIR/t.qcow2 32M
252 qemu-img: unrecognized option '-U'
253 Try 'qemu-img --help' for more information
254
255 _qemu_img_wrapper rebase -U TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
256 qemu-img: Could not open 'TEST_DIR/t.qcow2': Failed to get "write" lock
257 Is another process using the image [TEST_DIR/t.qcow2]?
258
259 _qemu_img_wrapper snapshot -l -U TEST_DIR/t.qcow2
260
261 _qemu_img_wrapper convert -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
262
263 _qemu_img_wrapper dd -U if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
264
265 _qemu_img_wrapper bench -U -c 1 TEST_DIR/t.qcow2
266
267 _qemu_img_wrapper bench -U -w -c 1 TEST_DIR/t.qcow2
268 qemu-img: Could not open 'TEST_DIR/t.qcow2': force-share=on can only be used with read-only images
269
270 Round done
271
272 == Creating base image ==
273 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=33554432
274
275 == Creating test image ==
276 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.base
277
278 == Launching QEMU, opts: 'read-only=on,force-share=on' ==
279
280 == Launching another QEMU, opts: '' ==
281
282 == Launching another QEMU, opts: 'read-only=on' ==
283
284 == Launching another QEMU, opts: 'read-only=on,force-share=on' ==
285
286 == Running utility commands ==
287
288 _qemu_io_wrapper -c read 0 512 TEST_DIR/t.qcow2
289
290 _qemu_io_wrapper -r -c read 0 512 TEST_DIR/t.qcow2
291
292 _qemu_io_wrapper -c open TEST_DIR/t.qcow2 -c read 0 512
293
294 _qemu_io_wrapper -c open -r TEST_DIR/t.qcow2 -c read 0 512
295
296 _qemu_img_wrapper info TEST_DIR/t.qcow2
297
298 _qemu_img_wrapper check TEST_DIR/t.qcow2
299
300 _qemu_img_wrapper compare TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
301
302 _qemu_img_wrapper map TEST_DIR/t.qcow2
303
304 _qemu_img_wrapper amend -o TEST_DIR/t.qcow2
305
306 _qemu_img_wrapper commit TEST_DIR/t.qcow2
307
308 _qemu_img_wrapper resize TEST_DIR/t.qcow2 32M
309
310 _qemu_img_wrapper rebase TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
311
312 _qemu_img_wrapper snapshot -l TEST_DIR/t.qcow2
313
314 _qemu_img_wrapper convert TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
315
316 _qemu_img_wrapper dd if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
317
318 _qemu_img_wrapper bench -c 1 TEST_DIR/t.qcow2
319
320 _qemu_img_wrapper bench -w -c 1 TEST_DIR/t.qcow2
321
322 _qemu_img_wrapper create -f qcow2 TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
323 file format: IMGFMT
324
325 == Running utility commands -U ==
326
327 _qemu_io_wrapper -U -c read 0 512 TEST_DIR/t.qcow2
328 qemu-io: can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
329
330 _qemu_io_wrapper -U -r -c read 0 512 TEST_DIR/t.qcow2
331
332 _qemu_io_wrapper -c open -U TEST_DIR/t.qcow2 -c read 0 512
333 qemu-io: can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
334 no file open, try 'help open'
335
336 _qemu_io_wrapper -c open -r -U TEST_DIR/t.qcow2 -c read 0 512
337
338 _qemu_img_wrapper info -U TEST_DIR/t.qcow2
339
340 _qemu_img_wrapper check -U TEST_DIR/t.qcow2
341
342 _qemu_img_wrapper compare -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
343
344 _qemu_img_wrapper map -U TEST_DIR/t.qcow2
345
346 _qemu_img_wrapper amend -o -U TEST_DIR/t.qcow2
347 qemu-img: unrecognized option '-U'
348 Try 'qemu-img --help' for more information
349
350 _qemu_img_wrapper commit -U TEST_DIR/t.qcow2
351 qemu-img: unrecognized option '-U'
352 Try 'qemu-img --help' for more information
353
354 _qemu_img_wrapper resize -U TEST_DIR/t.qcow2 32M
355 qemu-img: unrecognized option '-U'
356 Try 'qemu-img --help' for more information
357
358 _qemu_img_wrapper rebase -U TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
359
360 _qemu_img_wrapper snapshot -l -U TEST_DIR/t.qcow2
361
362 _qemu_img_wrapper convert -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
363
364 _qemu_img_wrapper dd -U if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
365
366 _qemu_img_wrapper bench -U -c 1 TEST_DIR/t.qcow2
367
368 _qemu_img_wrapper bench -U -w -c 1 TEST_DIR/t.qcow2
369 qemu-img: Could not open 'TEST_DIR/t.qcow2': force-share=on can only be used with read-only images
370
371 Round done
372
373 == Two devices with the same image (read-only=off - read-only=off) ==
374 QEMU_PROG: -drive if=none,file=TEST_DIR/t.qcow2,read-only=off: Failed to get "write" lock
375 Is another process using the image [TEST_DIR/t.qcow2]?
376
377 == Two devices with the same image (read-only=off - read-only=on) ==
378 QEMU_PROG: -drive if=none,file=TEST_DIR/t.qcow2,read-only=on: Failed to get shared "write" lock
379 Is another process using the image [TEST_DIR/t.qcow2]?
380
381 == Two devices with the same image (read-only=off - read-only=on,force-share=on) ==
382
383 == Two devices with the same image (read-only=on - read-only=off) ==
384 QEMU_PROG: -drive if=none,file=TEST_DIR/t.qcow2,read-only=off: Failed to get "write" lock
385 Is another process using the image [TEST_DIR/t.qcow2]?
386
387 == Two devices with the same image (read-only=on - read-only=on) ==
388
389 == Two devices with the same image (read-only=on - read-only=on,force-share=on) ==
390
391 == Two devices with the same image (read-only=on,force-share=on - read-only=off) ==
392
393 == Two devices with the same image (read-only=on,force-share=on - read-only=on) ==
394
395 == Two devices with the same image (read-only=on,force-share=on - read-only=on,force-share=on) ==
396
397 == Creating TEST_DIR/t.qcow2.[abc] ==
398 Formatting 'TEST_DIR/t.IMGFMT.a', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT
399 Formatting 'TEST_DIR/t.IMGFMT.b', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT
400 Formatting 'TEST_DIR/t.IMGFMT.c', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.b
401
402 == Two devices sharing the same file in backing chain ==
403
404 == Backing image also as an active device ==
405 QEMU_PROG: -drive if=none,file=TEST_DIR/t.qcow2: Failed to get "write" lock
406 Is another process using the image [TEST_DIR/t.qcow2]?
407
408 == Backing image also as an active device (ro) ==
409
410 == Symbolic link ==
411 QEMU_PROG: -drive if=none,file=TEST_DIR/t.qcow2: Failed to get "write" lock
412 Is another process using the image [TEST_DIR/t.qcow2]?
413
414 == Active commit to intermediate layer should work when base in use ==
415 {"return": {}}
416
417 _qemu_img_wrapper commit -b TEST_DIR/t.qcow2.b TEST_DIR/t.qcow2.c
418 {"return": {}}
419 Adding drive
420 {"return": "OKrn"}
421
422 _qemu_io_wrapper TEST_DIR/t.qcow2 -c write 0 512
423 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
424 Is another process using the image [TEST_DIR/t.qcow2]?
425 Creating overlay with qemu-img when the guest is running should be allowed
426
427 _qemu_img_wrapper create -f qcow2 -b TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.overlay
428 == Closing an image should unlock it ==
429 {"return": ""}
430
431 _qemu_io_wrapper TEST_DIR/t.qcow2 -c write 0 512
432 Adding two and closing one
433 {"return": "OKrn"}
434 {"return": "OKrn"}
435
436 _qemu_img_wrapper info TEST_DIR/t.qcow2
437 {"return": ""}
438
439 _qemu_io_wrapper TEST_DIR/t.qcow2 -c write 0 512
440 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
441 Is another process using the image [TEST_DIR/t.qcow2]?
442 Closing the other
443 {"return": ""}
444
445 _qemu_io_wrapper TEST_DIR/t.qcow2 -c write 0 512
446
447 == Detecting -U and force-share conflicts ==
448
449 No conflict:
450 image: null-co://
451 file format: null-co
452 virtual size: 1 GiB (1073741824 bytes)
453 disk size: unavailable
454
455 Conflict:
456 qemu-img: --force-share/-U conflicts with image options
457
458 No conflict:
459
460 Conflict:
461 qemu-io: -U conflicts with image options
462 *** done