s390x: upgrade status of KVM cores to "supported"
[qemu/ar7.git] / tests / qemu-iotests / 153.out
blob884254868caa7524f981c8556e5253b260f7c7fe
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
5 == Creating base image ==
6 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=33554432
8 == Creating test image ==
9 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.base
11 == Launching QEMU, opts: '' ==
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]?
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]?
21 == Launching another QEMU, opts: 'read-only=on,force-share=on' ==
23 == Running utility commands  ==
25 _qemu_io_wrapper -c read 0 512 TEST_DIR/t.qcow2
26 can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
27 Is another process using the image [TEST_DIR/t.qcow2]?
29 _qemu_io_wrapper -r -c read 0 512 TEST_DIR/t.qcow2
30 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]?
33 _qemu_io_wrapper -c open  TEST_DIR/t.qcow2 -c read 0 512
34 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'
38 _qemu_io_wrapper -c open -r  TEST_DIR/t.qcow2 -c read 0 512
39 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'
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]?
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]?
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]?
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]?
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]?
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]?
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]?
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]?
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]?
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]?
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]?
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]?
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]?
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
100 == Running utility commands -U ==
102 _qemu_io_wrapper -U -c read 0 512 TEST_DIR/t.qcow2
103 can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
105 _qemu_io_wrapper -U -r -c read 0 512 TEST_DIR/t.qcow2
107 _qemu_io_wrapper -c open -U TEST_DIR/t.qcow2 -c read 0 512
108 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'
111 _qemu_io_wrapper -c open -r -U TEST_DIR/t.qcow2 -c read 0 512
113 _qemu_img_wrapper info -U TEST_DIR/t.qcow2
115 _qemu_img_wrapper check -U TEST_DIR/t.qcow2
117 _qemu_img_wrapper compare -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
119 _qemu_img_wrapper map -U TEST_DIR/t.qcow2
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
125 _qemu_img_wrapper commit -U TEST_DIR/t.qcow2
126 qemu-img: unrecognized option '-U'
127 Try 'qemu-img --help' for more information
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
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]?
137 _qemu_img_wrapper snapshot -l -U TEST_DIR/t.qcow2
139 _qemu_img_wrapper convert -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
141 _qemu_img_wrapper dd -U if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
143 _qemu_img_wrapper bench -U -c 1 TEST_DIR/t.qcow2
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
148 Round done
150 == Creating base image ==
151 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=33554432
153 == Creating test image ==
154 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.base
156 == Launching QEMU, opts: 'read-only=on' ==
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]?
162 == Launching another QEMU, opts: 'read-only=on' ==
164 == Launching another QEMU, opts: 'read-only=on,force-share=on' ==
166 == Running utility commands  ==
168 _qemu_io_wrapper -c read 0 512 TEST_DIR/t.qcow2
169 can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
170 Is another process using the image [TEST_DIR/t.qcow2]?
172 _qemu_io_wrapper -r -c read 0 512 TEST_DIR/t.qcow2
174 _qemu_io_wrapper -c open  TEST_DIR/t.qcow2 -c read 0 512
175 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'
179 _qemu_io_wrapper -c open -r  TEST_DIR/t.qcow2 -c read 0 512
181 _qemu_img_wrapper info TEST_DIR/t.qcow2
183 _qemu_img_wrapper check TEST_DIR/t.qcow2
185 _qemu_img_wrapper compare TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
187 _qemu_img_wrapper map TEST_DIR/t.qcow2
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]?
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]?
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]?
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]?
205 _qemu_img_wrapper snapshot -l TEST_DIR/t.qcow2
207 _qemu_img_wrapper convert TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
209 _qemu_img_wrapper dd if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
211 _qemu_img_wrapper bench -c 1 TEST_DIR/t.qcow2
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]?
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
222 == Running utility commands -U ==
224 _qemu_io_wrapper -U -c read 0 512 TEST_DIR/t.qcow2
225 can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
227 _qemu_io_wrapper -U -r -c read 0 512 TEST_DIR/t.qcow2
229 _qemu_io_wrapper -c open -U TEST_DIR/t.qcow2 -c read 0 512
230 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'
233 _qemu_io_wrapper -c open -r -U TEST_DIR/t.qcow2 -c read 0 512
235 _qemu_img_wrapper info -U TEST_DIR/t.qcow2
237 _qemu_img_wrapper check -U TEST_DIR/t.qcow2
239 _qemu_img_wrapper compare -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
241 _qemu_img_wrapper map -U TEST_DIR/t.qcow2
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
247 _qemu_img_wrapper commit -U TEST_DIR/t.qcow2
248 qemu-img: unrecognized option '-U'
249 Try 'qemu-img --help' for more information
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
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]?
259 _qemu_img_wrapper snapshot -l -U TEST_DIR/t.qcow2
261 _qemu_img_wrapper convert -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
263 _qemu_img_wrapper dd -U if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
265 _qemu_img_wrapper bench -U -c 1 TEST_DIR/t.qcow2
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
270 Round done
272 == Creating base image ==
273 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=33554432
275 == Creating test image ==
276 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=33554432 backing_file=TEST_DIR/t.IMGFMT.base
278 == Launching QEMU, opts: 'read-only=on,force-share=on' ==
280 == Launching another QEMU, opts: '' ==
282 == Launching another QEMU, opts: 'read-only=on' ==
284 == Launching another QEMU, opts: 'read-only=on,force-share=on' ==
286 == Running utility commands  ==
288 _qemu_io_wrapper -c read 0 512 TEST_DIR/t.qcow2
290 _qemu_io_wrapper -r -c read 0 512 TEST_DIR/t.qcow2
292 _qemu_io_wrapper -c open  TEST_DIR/t.qcow2 -c read 0 512
294 _qemu_io_wrapper -c open -r  TEST_DIR/t.qcow2 -c read 0 512
296 _qemu_img_wrapper info TEST_DIR/t.qcow2
298 _qemu_img_wrapper check TEST_DIR/t.qcow2
300 _qemu_img_wrapper compare TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
302 _qemu_img_wrapper map TEST_DIR/t.qcow2
304 _qemu_img_wrapper amend -o  TEST_DIR/t.qcow2
306 _qemu_img_wrapper commit TEST_DIR/t.qcow2
308 _qemu_img_wrapper resize TEST_DIR/t.qcow2 32M
310 _qemu_img_wrapper rebase TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
312 _qemu_img_wrapper snapshot -l TEST_DIR/t.qcow2
314 _qemu_img_wrapper convert TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
316 _qemu_img_wrapper dd if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
318 _qemu_img_wrapper bench -c 1 TEST_DIR/t.qcow2
320 _qemu_img_wrapper bench -w -c 1 TEST_DIR/t.qcow2
322 _qemu_img_wrapper create -f qcow2 TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
323 file format: IMGFMT
325 == Running utility commands -U ==
327 _qemu_io_wrapper -U -c read 0 512 TEST_DIR/t.qcow2
328 can't open device TEST_DIR/t.qcow2: force-share=on can only be used with read-only images
330 _qemu_io_wrapper -U -r -c read 0 512 TEST_DIR/t.qcow2
332 _qemu_io_wrapper -c open -U TEST_DIR/t.qcow2 -c read 0 512
333 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'
336 _qemu_io_wrapper -c open -r -U TEST_DIR/t.qcow2 -c read 0 512
338 _qemu_img_wrapper info -U TEST_DIR/t.qcow2
340 _qemu_img_wrapper check -U TEST_DIR/t.qcow2
342 _qemu_img_wrapper compare -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2
344 _qemu_img_wrapper map -U TEST_DIR/t.qcow2
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
350 _qemu_img_wrapper commit -U TEST_DIR/t.qcow2
351 qemu-img: unrecognized option '-U'
352 Try 'qemu-img --help' for more information
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
358 _qemu_img_wrapper rebase -U TEST_DIR/t.qcow2 -b TEST_DIR/t.qcow2.base
360 _qemu_img_wrapper snapshot -l -U TEST_DIR/t.qcow2
362 _qemu_img_wrapper convert -U TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.convert
364 _qemu_img_wrapper dd -U if=TEST_DIR/t.qcow2 of=TEST_DIR/t.qcow2.convert bs=512 count=1
366 _qemu_img_wrapper bench -U -c 1 TEST_DIR/t.qcow2
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
371 Round done
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]?
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]?
381 == Two devices with the same image (read-only=off - read-only=on,force-share=on) ==
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]?
387 == Two devices with the same image (read-only=on - read-only=on) ==
389 == Two devices with the same image (read-only=on - read-only=on,force-share=on) ==
391 == Two devices with the same image (read-only=on,force-share=on - read-only=off) ==
393 == Two devices with the same image (read-only=on,force-share=on - read-only=on) ==
395 == Two devices with the same image (read-only=on,force-share=on - read-only=on,force-share=on) ==
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
402 == Two devices sharing the same file in backing chain ==
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]?
408 == Backing image also as an active device (ro) ==
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]?
414 == Active commit to intermediate layer should work when base in use ==
415 {"return": {}}
417 _qemu_img_wrapper commit -b TEST_DIR/t.qcow2.b TEST_DIR/t.qcow2.c
418 {"return": {}}
419 Adding drive
421 _qemu_io_wrapper TEST_DIR/t.qcow2 -c write 0 512
422 can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
423 Is another process using the image [TEST_DIR/t.qcow2]?
424 Creating overlay with qemu-img when the guest is running should be allowed
426 _qemu_img_wrapper create -f qcow2 -b TEST_DIR/t.qcow2 TEST_DIR/t.qcow2.overlay
427 == Closing an image should unlock it ==
429 _qemu_io_wrapper TEST_DIR/t.qcow2 -c write 0 512
430 Adding two and closing one
432 _qemu_img_wrapper info TEST_DIR/t.qcow2
434 _qemu_io_wrapper TEST_DIR/t.qcow2 -c write 0 512
435 can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
436 Is another process using the image [TEST_DIR/t.qcow2]?
437 Closing the other
439 _qemu_io_wrapper TEST_DIR/t.qcow2 -c write 0 512
441 == Detecting -U and force-share conflicts ==
443 No conflict:
444 image: null-co://
445 file format: null-co
446 virtual size: 1.0G (1073741824 bytes)
447 disk size: unavailable
449 Conflict:
450 qemu-img: --force-share/-U conflicts with image options
452 No conflict:
454 Conflict:
455 -U conflicts with image options
456 *** done