s390x: upgrade status of KVM cores to "supported"
[qemu/ar7.git] / tests / qemu-iotests / 051.out
blob793af2ab96796e8d38f86ac525dda0b8c06a5bd4
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
5 === Unknown option ===
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 === Node names ===
52 Testing: -drive file=TEST_DIR/t.qcow2,node-name=x123456789012345678901234567890
53 QEMU X.Y.Z monitor - type 'help' for more information
54 (qemu) quit
56 Testing: -drive file=TEST_DIR/t.qcow2,node-name=x1234567890123456789012345678901
57 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,node-name=x1234567890123456789012345678901: Node name too long
59 Testing: -drive file=TEST_DIR/t.qcow2,node-name=All-Types.of_all0wed_chars
60 QEMU X.Y.Z monitor - type 'help' for more information
61 (qemu) quit
63 Testing: -drive file=TEST_DIR/t.qcow2,node-name=123foo
64 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,node-name=123foo: Invalid node name
66 Testing: -drive file=TEST_DIR/t.qcow2,node-name=_foo
67 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,node-name=_foo: Invalid node name
69 Testing: -drive file=TEST_DIR/t.qcow2,node-name=foo#12
70 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,node-name=foo#12: Invalid node name
73 === Device without drive ===
75 Testing: -device VIRTIO_SCSI -device scsi-hd
76 QEMU X.Y.Z monitor - type 'help' for more information
77 (qemu) QEMU_PROG: -device scsi-hd: drive property not set
80 === Overriding backing file ===
82 Testing: -drive file=TEST_DIR/t.qcow2,driver=qcow2,backing.file.filename=TEST_DIR/t.qcow2.orig,if=none,id=drive0 -nodefaults
83 QEMU X.Y.Z monitor - type 'help' for more information
84 (qemu) info block
85 drive0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
86     Removable device: not locked, tray closed
87     Cache mode:       writeback
88     Backing file:     TEST_DIR/t.qcow2.orig (chain depth: 1)
89 (qemu) quit
91 Testing: -drive file=TEST_DIR/t.qcow2,driver=raw,backing.file.filename=TEST_DIR/t.qcow2.orig
92 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,driver=raw,backing.file.filename=TEST_DIR/t.qcow2.orig: Driver doesn't support backing files
94 Testing: -drive file=TEST_DIR/t.qcow2,file.backing.driver=file,file.backing.filename=TEST_DIR/t.qcow2.orig
95 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
97 Testing: -drive file=TEST_DIR/t.qcow2,file.backing.driver=qcow2,file.backing.file.filename=TEST_DIR/t.qcow2.orig
98 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
101 === Enable and disable lazy refcounting on the command line, plus some invalid values ===
103 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
104 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=on
105 QEMU X.Y.Z monitor - type 'help' for more information
106 (qemu) quit
108 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=off
109 QEMU X.Y.Z monitor - type 'help' for more information
110 (qemu) quit
112 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=
113 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=: Parameter 'lazy-refcounts' expects 'on' or 'off'
115 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=42
116 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=42: Parameter 'lazy-refcounts' expects 'on' or 'off'
118 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=foo
119 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=foo: Parameter 'lazy-refcounts' expects 'on' or 'off'
122 === With version 2 images enabling lazy refcounts must fail ===
124 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
125 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=on
126 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
128 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=off
129 QEMU X.Y.Z monitor - type 'help' for more information
130 (qemu) quit
133 === No medium ===
135 Testing: -drive if=virtio
136 QEMU X.Y.Z monitor - type 'help' for more information
137 (qemu) QEMU_PROG: -drive if=virtio: Device needs media, but drive is empty
140 === Read-only ===
142 Testing: -drive file=TEST_DIR/t.qcow2,if=virtio,readonly=on
143 QEMU X.Y.Z monitor - type 'help' for more information
144 (qemu) quit
147 === Cache modes ===
149 Testing: -drive driver=null-co,cache=none
150 QEMU X.Y.Z monitor - type 'help' for more information
151 (qemu) quit
153 Testing: -drive driver=null-co,cache=directsync
154 QEMU X.Y.Z monitor - type 'help' for more information
155 (qemu) quit
157 Testing: -drive driver=null-co,cache=writeback
158 QEMU X.Y.Z monitor - type 'help' for more information
159 (qemu) quit
161 Testing: -drive driver=null-co,cache=writethrough
162 QEMU X.Y.Z monitor - type 'help' for more information
163 (qemu) quit
165 Testing: -drive driver=null-co,cache=unsafe
166 QEMU X.Y.Z monitor - type 'help' for more information
167 (qemu) quit
169 Testing: -drive driver=null-co,cache=invalid_value
170 QEMU_PROG: -drive driver=null-co,cache=invalid_value: invalid cache option
172 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
173 QEMU X.Y.Z monitor - type 'help' for more information
174 (qemu) info block
175 drive0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
176     Removable device: not locked, tray closed
177     Cache mode:       writeback
178     Backing file:     TEST_DIR/t.qcow2.base (chain depth: 1)
179 (qemu) info block file
181 file: TEST_DIR/t.qcow2 (file)
182     Cache mode:       writeback
183 (qemu) info block backing
184 backing: TEST_DIR/t.qcow2.base (qcow2, read-only)
185     Cache mode:       writeback, ignore flushes
186 (qemu) info block backing-file
188 backing-file: TEST_DIR/t.qcow2.base (file, read-only)
189     Cache mode:       writeback, ignore flushes
190 (qemu) quit
192 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
193 QEMU X.Y.Z monitor - type 'help' for more information
194 (qemu) info block
195 drive0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
196     Removable device: not locked, tray closed
197     Cache mode:       writethrough
198     Backing file:     TEST_DIR/t.qcow2.base (chain depth: 1)
199 (qemu) info block file
201 file: TEST_DIR/t.qcow2 (file)
202     Cache mode:       writeback
203 (qemu) info block backing
204 backing: TEST_DIR/t.qcow2.base (qcow2, read-only)
205     Cache mode:       writeback, ignore flushes
206 (qemu) info block backing-file
208 backing-file: TEST_DIR/t.qcow2.base (file, read-only)
209     Cache mode:       writeback, ignore flushes
210 (qemu) quit
212 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
213 QEMU X.Y.Z monitor - type 'help' for more information
214 (qemu) info block
215 drive0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
216     Removable device: not locked, tray closed
217     Cache mode:       writeback, ignore flushes
218     Backing file:     TEST_DIR/t.qcow2.base (chain depth: 1)
219 (qemu) info block file
221 file: TEST_DIR/t.qcow2 (file)
222     Cache mode:       writeback, ignore flushes
223 (qemu) info block backing
224 backing: TEST_DIR/t.qcow2.base (qcow2, read-only)
225     Cache mode:       writeback, ignore flushes
226 (qemu) info block backing-file
228 backing-file: TEST_DIR/t.qcow2.base (file, read-only)
229     Cache mode:       writeback, ignore flushes
230 (qemu) quit
232 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
233 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
236 === Specifying the protocol layer ===
238 Testing: -drive file=TEST_DIR/t.qcow2,file.driver=file
239 QEMU X.Y.Z monitor - type 'help' for more information
240 (qemu) quit
243 === Leaving out required options ===
245 Testing: -drive driver=file
246 QEMU_PROG: -drive driver=file: The 'file' block driver requires a file name
248 Testing: -drive driver=file,filename=
249 QEMU_PROG: -drive driver=file,filename=: The 'file' block driver requires a file name
251 Testing: -drive driver=nbd
252 QEMU_PROG: -drive driver=nbd: NBD server address missing
254 Testing: -drive driver=raw
255 QEMU_PROG: -drive driver=raw: A block device must be specified for "file"
257 Testing: -drive file.driver=file
258 QEMU_PROG: -drive file.driver=file: The 'file' block driver requires a file name
260 Testing: -drive file.driver=nbd
261 QEMU_PROG: -drive file.driver=nbd: NBD server address missing
263 Testing: -drive file.driver=raw
264 QEMU_PROG: -drive file.driver=raw: A block device must be specified for "file"
266 Testing: -drive foo=bar
267 QEMU_PROG: -drive foo=bar: Must specify either driver or file
270 === Specifying both an option and its legacy alias ===
272 Testing: -drive file=TEST_DIR/t.qcow2,iops=1234,throttling.iops-total=5678
273 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
275 Testing: -drive file=TEST_DIR/t.qcow2,iops_rd=1234,throttling.iops-read=5678
276 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
278 Testing: -drive file=TEST_DIR/t.qcow2,iops_wr=1234,throttling.iops-write=5678
279 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
281 Testing: -drive file=TEST_DIR/t.qcow2,bps=1234,throttling.bps-total=5678
282 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
284 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd=1234,throttling.bps-read=5678
285 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
287 Testing: -drive file=TEST_DIR/t.qcow2,bps_wr=1234,throttling.bps-write=5678
288 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
290 Testing: -drive file=TEST_DIR/t.qcow2,iops_max=1234,throttling.iops-total-max=5678
291 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
293 Testing: -drive file=TEST_DIR/t.qcow2,iops_rd_max=1234,throttling.iops-read-max=5678
294 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
296 Testing: -drive file=TEST_DIR/t.qcow2,iops_wr_max=1234,throttling.iops-write-max=5678
297 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
299 Testing: -drive file=TEST_DIR/t.qcow2,bps_max=1234,throttling.bps-total-max=5678
300 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
302 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd_max=1234,throttling.bps-read-max=5678
303 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
305 Testing: -drive file=TEST_DIR/t.qcow2,bps_wr_max=1234,throttling.bps-write-max=5678
306 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
308 Testing: -drive file=TEST_DIR/t.qcow2,iops_size=1234,throttling.iops-size=5678
309 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
311 Testing: -drive file=TEST_DIR/t.qcow2,readonly=on,read-only=off
312 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
315 === Catching negative/large throttling values ===
317 Testing: -drive file=TEST_DIR/t.qcow2,iops=-1
318 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,iops=-1: bps/iops/max values must be within [0, 1000000000000000]
320 Testing: -drive file=TEST_DIR/t.qcow2,bps=-2
321 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps=-2: bps/iops/max values must be within [0, 1000000000000000]
323 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd=-3
324 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_rd=-3: bps/iops/max values must be within [0, 1000000000000000]
326 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd_max=-3
327 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_rd_max=-3: bps/iops/max values must be within [0, 1000000000000000]
329 Testing: -drive file=TEST_DIR/t.qcow2,throttling.iops-total=-4
330 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,throttling.iops-total=-4: bps/iops/max values must be within [0, 1000000000000000]
332 Testing: -drive file=TEST_DIR/t.qcow2,throttling.bps-total=-5
333 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,throttling.bps-total=-5: bps/iops/max values must be within [0, 1000000000000000]
335 Testing: -drive file=TEST_DIR/t.qcow2,bps=0
336 QEMU X.Y.Z monitor - type 'help' for more information
337 (qemu) quit
339 Testing: -drive file=TEST_DIR/t.qcow2,bps=1
340 QEMU X.Y.Z monitor - type 'help' for more information
341 (qemu) quit
343 Testing: -drive file=TEST_DIR/t.qcow2,bps=1000000000000000
344 QEMU X.Y.Z monitor - type 'help' for more information
345 (qemu) quit
347 Testing: -drive file=TEST_DIR/t.qcow2,bps=1000000000000001
348 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps=1000000000000001: bps/iops/max values must be within [0, 1000000000000000]
350 Testing: -drive file=TEST_DIR/t.qcow2,bps=9999999999999999
351 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps=9999999999999999: bps/iops/max values must be within [0, 1000000000000000]
354 === Parsing protocol from file name ===
356 Testing: -hda foo:bar
357 QEMU_PROG: -hda foo:bar: Unknown protocol 'foo'
359 Testing: -drive file=foo:bar
360 QEMU_PROG: -drive file=foo:bar: Unknown protocol 'foo'
362 Testing: -drive file.filename=foo:bar
363 QEMU_PROG: -drive file.filename=foo:bar: Could not open 'foo:bar': No such file or directory
365 Testing: -hda file:TEST_DIR/t.qcow2
366 QEMU X.Y.Z monitor - type 'help' for more information
367 (qemu) quit
369 Testing: -drive file=file:TEST_DIR/t.qcow2
370 QEMU X.Y.Z monitor - type 'help' for more information
371 (qemu) quit
373 Testing: -drive file.filename=file:TEST_DIR/t.qcow2
374 QEMU_PROG: -drive file.filename=file:TEST_DIR/t.qcow2: Could not open 'file:TEST_DIR/t.qcow2': No such file or directory
377 === Snapshot mode ===
379 wrote 4096/4096 bytes at offset 0
380 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
381 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=drive0 -snapshot
382 QEMU X.Y.Z monitor - type 'help' for more information
383 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
384 wrote 4096/4096 bytes at offset 0
385 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
386 (qemu) quit
388 Testing: -drive file=TEST_DIR/t.qcow2,snapshot=on,if=none,id=drive0
389 QEMU X.Y.Z monitor - type 'help' for more information
390 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
391 wrote 4096/4096 bytes at offset 0
392 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
393 (qemu) quit
395 Testing: -drive file.filename=TEST_DIR/t.qcow2,driver=qcow2,snapshot=on,if=none,id=drive0
396 QEMU X.Y.Z monitor - type 'help' for more information
397 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
398 wrote 4096/4096 bytes at offset 0
399 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
400 (qemu) quit
402 Testing: -drive file.filename=TEST_DIR/t.qcow2,driver=qcow2,if=none,id=drive0 -snapshot
403 QEMU X.Y.Z monitor - type 'help' for more information
404 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
405 wrote 4096/4096 bytes at offset 0
406 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
407 (qemu) quit
409 Testing: -drive file=file:TEST_DIR/t.qcow2,if=none,id=drive0 -snapshot
410 QEMU X.Y.Z monitor - type 'help' for more information
411 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
412 wrote 4096/4096 bytes at offset 0
413 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
414 (qemu) quit
416 Testing: -drive file=file:TEST_DIR/t.qcow2,snapshot=on,if=none,id=drive0
417 QEMU X.Y.Z monitor - type 'help' for more information
418 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
419 wrote 4096/4096 bytes at offset 0
420 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
421 (qemu) quit
423 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=drive0 -snapshot
424 QEMU X.Y.Z monitor - type 'help' for more information
425 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
426 wrote 4096/4096 bytes at offset 0
427 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
428 (qemu) quit
430 Testing: -drive file=TEST_DIR/t.qcow2,snapshot=on,if=none,id=drive0
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)
435 (qemu) quit
437 read 4096/4096 bytes at offset 0
438 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
439 Testing: -drive file=TEST_DIR/t.qcow2,snapshot=off,if=none,id=drive0
440 QEMU X.Y.Z monitor - type 'help' for more information
441 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
442 wrote 4096/4096 bytes at offset 0
443 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
444 (qemu) quit
446 read 4096/4096 bytes at offset 0
447 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
448 Testing: -drive file=TEST_DIR/t.qcow2,snapshot=on,if=none,id=drive0
449 QEMU X.Y.Z monitor - type 'help' for more information
450 (qemu) qemu-io drive0 "write -P 0x33 0 4k"
451 wrote 4096/4096 bytes at offset 0
452 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
453 (qemu) commit drive0
454 (qemu) quit
456 read 4096/4096 bytes at offset 0
457 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
458 Testing: -drive driver=null-co,snapshot=on
459 QEMU_PROG: -drive driver=null-co,snapshot=on: Could not get temporary filename: No such file or directory
461 *** done