1 QA output created by 051
2 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
3 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file=TEST_DIR/t.IMGFMT.base
7 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0
8 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0: Block format 'qcow2' does not support the option 'unknown_opt'
10 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0
11 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0: Block format 'qcow2' does not support the option 'unknown_opt'
13 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0
14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0: Block format 'qcow2' does not support the option 'unknown_opt'
16 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0
17 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0: Block format 'qcow2' does not support the option 'unknown_opt'
20 === Unknown protocol option ===
22 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=
23 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=: Block protocol 'file' doesn't support the option 'unknown_opt'
25 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=on
26 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=on: Block protocol 'file' doesn't support the option 'unknown_opt'
28 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=1234
29 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=1234: Block protocol 'file' doesn't support the option 'unknown_opt'
31 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=foo
32 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=foo: Block protocol 'file' doesn't support the option 'unknown_opt'
35 === Invalid format ===
37 Testing: -drive file=TEST_DIR/t.qcow2,format=foo
38 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=foo: Unknown driver 'foo'
40 Testing: -drive file=TEST_DIR/t.qcow2,driver=foo
41 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,driver=foo: Unknown driver 'foo'
43 Testing: -drive file=TEST_DIR/t.qcow2,driver=raw,format=qcow2
44 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,driver=raw,format=qcow2: Cannot specify both 'driver' and 'format'
46 Testing: -drive file=TEST_DIR/t.qcow2,driver=qcow2,format=qcow2
47 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,driver=qcow2,format=qcow2: Cannot specify both 'driver' and 'format'
50 === Device without drive ===
52 Testing: -device VIRTIO_SCSI -device scsi-hd
53 QEMU X.Y.Z monitor - type 'help' for more information
54 (qemu) QEMU_PROG: -device scsi-hd: drive property not set
57 === Overriding backing file ===
59 Testing: -drive file=TEST_DIR/t.qcow2,driver=qcow2,backing.file.filename=TEST_DIR/t.qcow2.orig,if=none,id=drive0 -nodefaults
60 QEMU X.Y.Z monitor - type 'help' for more information
62 drive0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
63 Removable device: not locked, tray closed
65 Backing file: TEST_DIR/t.qcow2.orig (chain depth: 1)
68 Testing: -drive file=TEST_DIR/t.qcow2,driver=raw,backing.file.filename=TEST_DIR/t.qcow2.orig
69 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,driver=raw,backing.file.filename=TEST_DIR/t.qcow2.orig: Driver doesn't support backing files
71 Testing: -drive file=TEST_DIR/t.qcow2,file.backing.driver=file,file.backing.filename=TEST_DIR/t.qcow2.orig
72 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,file.backing.driver=file,file.backing.filename=TEST_DIR/t.qcow2.orig: Driver doesn't support backing files
74 Testing: -drive file=TEST_DIR/t.qcow2,file.backing.driver=qcow2,file.backing.file.filename=TEST_DIR/t.qcow2.orig
75 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,file.backing.driver=qcow2,file.backing.file.filename=TEST_DIR/t.qcow2.orig: Driver doesn't support backing files
78 === Enable and disable lazy refcounting on the command line, plus some invalid values ===
80 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
81 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=on
82 QEMU X.Y.Z monitor - type 'help' for more information
85 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=off
86 QEMU X.Y.Z monitor - type 'help' for more information
89 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=
90 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=: Parameter 'lazy-refcounts' expects 'on' or 'off'
92 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=42
93 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=42: Parameter 'lazy-refcounts' expects 'on' or 'off'
95 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=foo
96 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=foo: Parameter 'lazy-refcounts' expects 'on' or 'off'
99 === With version 2 images enabling lazy refcounts must fail ===
101 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
102 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=on
103 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=on: Lazy refcounts require a qcow2 image with at least qemu 1.1 compatibility level
105 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=off
106 QEMU X.Y.Z monitor - type 'help' for more information
112 Testing: -drive if=floppy
113 QEMU X.Y.Z monitor - type 'help' for more information
116 Testing: -drive if=ide,media=cdrom
117 QEMU X.Y.Z monitor - type 'help' for more information
120 Testing: -drive if=ide
121 QEMU X.Y.Z monitor - type 'help' for more information
122 (qemu) QEMU_PROG: Initialization of device ide-hd failed: Device needs media, but drive is empty
124 Testing: -drive if=virtio
125 QEMU X.Y.Z monitor - type 'help' for more information
126 (qemu) QEMU_PROG: -drive if=virtio: Device needs media, but drive is empty
128 Testing: -drive if=none,id=disk -device ide-cd,drive=disk
129 QEMU X.Y.Z monitor - type 'help' for more information
132 Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-cd,drive=disk
133 QEMU X.Y.Z monitor - type 'help' for more information
136 Testing: -drive if=none,id=disk -device ide-drive,drive=disk
137 QEMU X.Y.Z monitor - type 'help' for more information
138 (qemu) QEMU_PROG: -device ide-drive,drive=disk: Device needs media, but drive is empty
140 Testing: -drive if=none,id=disk -device ide-hd,drive=disk
141 QEMU X.Y.Z monitor - type 'help' for more information
142 (qemu) QEMU_PROG: -device ide-hd,drive=disk: Device needs media, but drive is empty
144 Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-disk,drive=disk
145 QEMU X.Y.Z monitor - type 'help' for more information
146 (qemu) QEMU_PROG: -device scsi-disk,drive=disk: Device needs media, but drive is empty
148 Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-hd,drive=disk
149 QEMU X.Y.Z monitor - type 'help' for more information
150 (qemu) QEMU_PROG: -device scsi-hd,drive=disk: Device needs media, but drive is empty
155 Testing: -drive file=TEST_DIR/t.qcow2,if=floppy,readonly=on
156 QEMU X.Y.Z monitor - type 'help' for more information
159 Testing: -drive file=TEST_DIR/t.qcow2,if=ide,media=cdrom,readonly=on
160 QEMU X.Y.Z monitor - type 'help' for more information
163 Testing: -drive file=TEST_DIR/t.qcow2,if=ide,readonly=on
164 QEMU X.Y.Z monitor - type 'help' for more information
165 (qemu) QEMU_PROG: Initialization of device ide-hd failed: Block node is read-only
167 Testing: -drive file=TEST_DIR/t.qcow2,if=virtio,readonly=on
168 QEMU X.Y.Z monitor - type 'help' for more information
171 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device ide-cd,drive=disk
172 QEMU X.Y.Z monitor - type 'help' for more information
175 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device lsi53c895a -device scsi-cd,drive=disk
176 QEMU X.Y.Z monitor - type 'help' for more information
179 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device ide-drive,drive=disk
180 QEMU X.Y.Z monitor - type 'help' for more information
181 (qemu) QEMU_PROG: -device ide-drive,drive=disk: Block node is read-only
183 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device ide-hd,drive=disk
184 QEMU X.Y.Z monitor - type 'help' for more information
185 (qemu) QEMU_PROG: -device ide-hd,drive=disk: Block node is read-only
187 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device lsi53c895a -device scsi-disk,drive=disk
188 QEMU X.Y.Z monitor - type 'help' for more information
191 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device lsi53c895a -device scsi-hd,drive=disk
192 QEMU X.Y.Z monitor - type 'help' for more information
198 Testing: -drive driver=null-co,cache=none
199 QEMU X.Y.Z monitor - type 'help' for more information
202 Testing: -drive driver=null-co,cache=directsync
203 QEMU X.Y.Z monitor - type 'help' for more information
206 Testing: -drive driver=null-co,cache=writeback
207 QEMU X.Y.Z monitor - type 'help' for more information
210 Testing: -drive driver=null-co,cache=writethrough
211 QEMU X.Y.Z monitor - type 'help' for more information
214 Testing: -drive driver=null-co,cache=unsafe
215 QEMU X.Y.Z monitor - type 'help' for more information
218 Testing: -drive driver=null-co,cache=invalid_value
219 QEMU_PROG: -drive driver=null-co,cache=invalid_value: invalid cache option
221 Testing: -drive file=TEST_DIR/t.qcow2,cache=writeback,backing.file.filename=TEST_DIR/t.qcow2.base,backing.cache.no-flush=on,backing.node-name=backing,backing.file.node-name=backing-file,file.node-name=file,if=none,id=drive0 -nodefaults
222 QEMU X.Y.Z monitor - type 'help' for more information
224 drive0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
225 Removable device: not locked, tray closed
226 Cache mode: writeback
227 Backing file: TEST_DIR/t.qcow2.base (chain depth: 1)
228 (qemu) info block file
230 file: TEST_DIR/t.qcow2 (file)
231 Cache mode: writeback
232 (qemu) info block backing
233 backing: TEST_DIR/t.qcow2.base (qcow2, read-only)
234 Cache mode: writeback, ignore flushes
235 (qemu) info block backing-file
237 backing-file: TEST_DIR/t.qcow2.base (file, read-only)
238 Cache mode: writeback, ignore flushes
241 Testing: -drive file=TEST_DIR/t.qcow2,cache=writethrough,backing.file.filename=TEST_DIR/t.qcow2.base,backing.cache.no-flush=on,backing.node-name=backing,backing.file.node-name=backing-file,file.node-name=file,if=none,id=drive0 -nodefaults
242 QEMU X.Y.Z monitor - type 'help' for more information
244 drive0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
245 Removable device: not locked, tray closed
246 Cache mode: writethrough
247 Backing file: TEST_DIR/t.qcow2.base (chain depth: 1)
248 (qemu) info block file
250 file: TEST_DIR/t.qcow2 (file)
251 Cache mode: writeback
252 (qemu) info block backing
253 backing: TEST_DIR/t.qcow2.base (qcow2, read-only)
254 Cache mode: writeback, ignore flushes
255 (qemu) info block backing-file
257 backing-file: TEST_DIR/t.qcow2.base (file, read-only)
258 Cache mode: writeback, ignore flushes
261 Testing: -drive file=TEST_DIR/t.qcow2,cache=unsafe,backing.file.filename=TEST_DIR/t.qcow2.base,backing.cache.no-flush=on,backing.node-name=backing,backing.file.node-name=backing-file,file.node-name=file,if=none,id=drive0 -nodefaults
262 QEMU X.Y.Z monitor - type 'help' for more information
264 drive0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
265 Removable device: not locked, tray closed
266 Cache mode: writeback, ignore flushes
267 Backing file: TEST_DIR/t.qcow2.base (chain depth: 1)
268 (qemu) info block file
270 file: TEST_DIR/t.qcow2 (file)
271 Cache mode: writeback, ignore flushes
272 (qemu) info block backing
273 backing: TEST_DIR/t.qcow2.base (qcow2, read-only)
274 Cache mode: writeback, ignore flushes
275 (qemu) info block backing-file
277 backing-file: TEST_DIR/t.qcow2.base (file, read-only)
278 Cache mode: writeback, ignore flushes
281 Testing: -drive file=TEST_DIR/t.qcow2,cache=invalid_value,backing.file.filename=TEST_DIR/t.qcow2.base,backing.cache.no-flush=on,backing.node-name=backing,backing.file.node-name=backing-file,file.node-name=file,if=none,id=drive0 -nodefaults
282 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,cache=invalid_value,backing.file.filename=TEST_DIR/t.qcow2.base,backing.cache.no-flush=on,backing.node-name=backing,backing.file.node-name=backing-file,file.node-name=file,if=none,id=drive0: invalid cache option
285 === Specifying the protocol layer ===
287 Testing: -drive file=TEST_DIR/t.qcow2,file.driver=file
288 QEMU X.Y.Z monitor - type 'help' for more information
292 === Leaving out required options ===
294 Testing: -drive driver=file
295 QEMU_PROG: -drive driver=file: The 'file' block driver requires a file name
297 Testing: -drive driver=file,filename=
298 QEMU_PROG: -drive driver=file,filename=: The 'file' block driver requires a file name
300 Testing: -drive driver=nbd
301 QEMU_PROG: -drive driver=nbd: NBD server address missing
303 Testing: -drive driver=raw
304 QEMU_PROG: -drive driver=raw: A block device must be specified for "file"
306 Testing: -drive file.driver=file
307 QEMU_PROG: -drive file.driver=file: The 'file' block driver requires a file name
309 Testing: -drive file.driver=nbd
310 QEMU_PROG: -drive file.driver=nbd: NBD server address missing
312 Testing: -drive file.driver=raw
313 QEMU_PROG: -drive file.driver=raw: A block device must be specified for "file"
315 Testing: -drive foo=bar
316 QEMU_PROG: -drive foo=bar: Must specify either driver or file
319 === Specifying both an option and its legacy alias ===
321 Testing: -drive file=TEST_DIR/t.qcow2,iops=1234,throttling.iops-total=5678
322 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,iops=1234,throttling.iops-total=5678: 'throttling.iops-total' and its alias 'iops' can't be used at the same time
324 Testing: -drive file=TEST_DIR/t.qcow2,iops_rd=1234,throttling.iops-read=5678
325 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,iops_rd=1234,throttling.iops-read=5678: 'throttling.iops-read' and its alias 'iops_rd' can't be used at the same time
327 Testing: -drive file=TEST_DIR/t.qcow2,iops_wr=1234,throttling.iops-write=5678
328 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,iops_wr=1234,throttling.iops-write=5678: 'throttling.iops-write' and its alias 'iops_wr' can't be used at the same time
330 Testing: -drive file=TEST_DIR/t.qcow2,bps=1234,throttling.bps-total=5678
331 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps=1234,throttling.bps-total=5678: 'throttling.bps-total' and its alias 'bps' can't be used at the same time
333 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd=1234,throttling.bps-read=5678
334 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_rd=1234,throttling.bps-read=5678: 'throttling.bps-read' and its alias 'bps_rd' can't be used at the same time
336 Testing: -drive file=TEST_DIR/t.qcow2,bps_wr=1234,throttling.bps-write=5678
337 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_wr=1234,throttling.bps-write=5678: 'throttling.bps-write' and its alias 'bps_wr' can't be used at the same time
339 Testing: -drive file=TEST_DIR/t.qcow2,iops_max=1234,throttling.iops-total-max=5678
340 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,iops_max=1234,throttling.iops-total-max=5678: 'throttling.iops-total-max' and its alias 'iops_max' can't be used at the same time
342 Testing: -drive file=TEST_DIR/t.qcow2,iops_rd_max=1234,throttling.iops-read-max=5678
343 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,iops_rd_max=1234,throttling.iops-read-max=5678: 'throttling.iops-read-max' and its alias 'iops_rd_max' can't be used at the same time
345 Testing: -drive file=TEST_DIR/t.qcow2,iops_wr_max=1234,throttling.iops-write-max=5678
346 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,iops_wr_max=1234,throttling.iops-write-max=5678: 'throttling.iops-write-max' and its alias 'iops_wr_max' can't be used at the same time
348 Testing: -drive file=TEST_DIR/t.qcow2,bps_max=1234,throttling.bps-total-max=5678
349 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_max=1234,throttling.bps-total-max=5678: 'throttling.bps-total-max' and its alias 'bps_max' can't be used at the same time
351 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd_max=1234,throttling.bps-read-max=5678
352 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_rd_max=1234,throttling.bps-read-max=5678: 'throttling.bps-read-max' and its alias 'bps_rd_max' can't be used at the same time
354 Testing: -drive file=TEST_DIR/t.qcow2,bps_wr_max=1234,throttling.bps-write-max=5678
355 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_wr_max=1234,throttling.bps-write-max=5678: 'throttling.bps-write-max' and its alias 'bps_wr_max' can't be used at the same time
357 Testing: -drive file=TEST_DIR/t.qcow2,iops_size=1234,throttling.iops-size=5678
358 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,iops_size=1234,throttling.iops-size=5678: 'throttling.iops-size' and its alias 'iops_size' can't be used at the same time
360 Testing: -drive file=TEST_DIR/t.qcow2,readonly=on,read-only=off
361 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,readonly=on,read-only=off: 'read-only' and its alias 'readonly' can't be used at the same time
364 === Catching negative/large throttling values ===
366 Testing: -drive file=TEST_DIR/t.qcow2,iops=-1
367 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,iops=-1: bps/iops/max values must be within [0, 1000000000000000]
369 Testing: -drive file=TEST_DIR/t.qcow2,bps=-2
370 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps=-2: bps/iops/max values must be within [0, 1000000000000000]
372 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd=-3
373 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_rd=-3: bps/iops/max values must be within [0, 1000000000000000]
375 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd_max=-3
376 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_rd_max=-3: bps/iops/max values must be within [0, 1000000000000000]
378 Testing: -drive file=TEST_DIR/t.qcow2,throttling.iops-total=-4
379 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,throttling.iops-total=-4: bps/iops/max values must be within [0, 1000000000000000]
381 Testing: -drive file=TEST_DIR/t.qcow2,throttling.bps-total=-5
382 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,throttling.bps-total=-5: bps/iops/max values must be within [0, 1000000000000000]
384 Testing: -drive file=TEST_DIR/t.qcow2,bps=0
385 QEMU X.Y.Z monitor - type 'help' for more information
388 Testing: -drive file=TEST_DIR/t.qcow2,bps=1
389 QEMU X.Y.Z monitor - type 'help' for more information
392 Testing: -drive file=TEST_DIR/t.qcow2,bps=1000000000000000
393 QEMU X.Y.Z monitor - type 'help' for more information
396 Testing: -drive file=TEST_DIR/t.qcow2,bps=1000000000000001
397 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps=1000000000000001: bps/iops/max values must be within [0, 1000000000000000]
399 Testing: -drive file=TEST_DIR/t.qcow2,bps=9999999999999999
400 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps=9999999999999999: bps/iops/max values must be within [0, 1000000000000000]
403 === Parsing protocol from file name ===
405 Testing: -hda foo:bar
406 QEMU_PROG: -hda foo:bar: Unknown protocol 'foo'
408 Testing: -drive file=foo:bar
409 QEMU_PROG: -drive file=foo:bar: Unknown protocol 'foo'
411 Testing: -drive file.filename=foo:bar
412 QEMU_PROG: -drive file.filename=foo:bar: Could not open 'foo:bar': No such file or directory
414 Testing: -hda file:TEST_DIR/t.qcow2
415 QEMU X.Y.Z monitor - type 'help' for more information
418 Testing: -drive file=file:TEST_DIR/t.qcow2
419 QEMU X.Y.Z monitor - type 'help' for more information
422 Testing: -drive file.filename=file:TEST_DIR/t.qcow2
423 QEMU_PROG: -drive file.filename=file:TEST_DIR/t.qcow2: Could not open 'file:TEST_DIR/t.qcow2': No such file or directory
426 === Snapshot mode ===
428 wrote 4096/4096 bytes at offset 0
429 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
430 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=drive0 -snapshot
431 QEMU X.Y.Z monitor - type 'help' for more information
432 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
433 wrote 4096/4096 bytes at offset 0
434 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
437 Testing: -drive file=TEST_DIR/t.qcow2,snapshot=on,if=none,id=drive0
438 QEMU X.Y.Z monitor - type 'help' for more information
439 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
440 wrote 4096/4096 bytes at offset 0
441 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
444 Testing: -drive file.filename=TEST_DIR/t.qcow2,driver=qcow2,snapshot=on,if=none,id=drive0
445 QEMU X.Y.Z monitor - type 'help' for more information
446 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
447 wrote 4096/4096 bytes at offset 0
448 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
451 Testing: -drive file.filename=TEST_DIR/t.qcow2,driver=qcow2,if=none,id=drive0 -snapshot
452 QEMU X.Y.Z monitor - type 'help' for more information
453 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
454 wrote 4096/4096 bytes at offset 0
455 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
458 Testing: -drive file=file:TEST_DIR/t.qcow2,if=none,id=drive0 -snapshot
459 QEMU X.Y.Z monitor - type 'help' for more information
460 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
461 wrote 4096/4096 bytes at offset 0
462 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
465 Testing: -drive file=file:TEST_DIR/t.qcow2,snapshot=on,if=none,id=drive0
466 QEMU X.Y.Z monitor - type 'help' for more information
467 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
468 wrote 4096/4096 bytes at offset 0
469 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
472 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=drive0 -snapshot
473 QEMU X.Y.Z monitor - type 'help' for more information
474 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
475 wrote 4096/4096 bytes at offset 0
476 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
479 Testing: -drive file=TEST_DIR/t.qcow2,snapshot=on,if=none,id=drive0
480 QEMU X.Y.Z monitor - type 'help' for more information
481 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
482 wrote 4096/4096 bytes at offset 0
483 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
486 read 4096/4096 bytes at offset 0
487 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
488 Testing: -drive file=TEST_DIR/t.qcow2,snapshot=off,if=none,id=drive0
489 QEMU X.Y.Z monitor - type 'help' for more information
490 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
491 wrote 4096/4096 bytes at offset 0
492 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
495 read 4096/4096 bytes at offset 0
496 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
497 Testing: -drive file=TEST_DIR/t.qcow2,snapshot=on,if=none,id=drive0
498 QEMU X.Y.Z monitor - type 'help' for more information
499 (qemu) qemu-io drive0 "write -P 0x33 0 4k"
500 wrote 4096/4096 bytes at offset 0
501 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
505 read 4096/4096 bytes at offset 0
506 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)