target/arm: Define an IDAU interface
[qemu/ar7.git] / tests / qemu-iotests / 051.out
blobdd9846d1ce595362cdf9a049740431d3560c6302
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 === 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
61 (qemu) info block
62 drive0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
63     Removable device: not locked, tray closed
64     Cache mode:       writeback
65     Backing file:     TEST_DIR/t.qcow2.orig (chain depth: 1)
66 (qemu) quit
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
83 (qemu) quit
85 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=off
86 QEMU X.Y.Z monitor - type 'help' for more information
87 (qemu) quit
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
107 (qemu) quit
110 === No medium ===
112 Testing: -drive if=virtio
113 QEMU X.Y.Z monitor - type 'help' for more information
114 (qemu) QEMU_PROG: -drive if=virtio: Device needs media, but drive is empty
117 === Read-only ===
119 Testing: -drive file=TEST_DIR/t.qcow2,if=virtio,readonly=on
120 QEMU X.Y.Z monitor - type 'help' for more information
121 (qemu) quit
124 === Cache modes ===
126 Testing: -drive driver=null-co,cache=none
127 QEMU X.Y.Z monitor - type 'help' for more information
128 (qemu) quit
130 Testing: -drive driver=null-co,cache=directsync
131 QEMU X.Y.Z monitor - type 'help' for more information
132 (qemu) quit
134 Testing: -drive driver=null-co,cache=writeback
135 QEMU X.Y.Z monitor - type 'help' for more information
136 (qemu) quit
138 Testing: -drive driver=null-co,cache=writethrough
139 QEMU X.Y.Z monitor - type 'help' for more information
140 (qemu) quit
142 Testing: -drive driver=null-co,cache=unsafe
143 QEMU X.Y.Z monitor - type 'help' for more information
144 (qemu) quit
146 Testing: -drive driver=null-co,cache=invalid_value
147 QEMU_PROG: -drive driver=null-co,cache=invalid_value: invalid cache option
149 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
150 QEMU X.Y.Z monitor - type 'help' for more information
151 (qemu) info block
152 drive0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
153     Removable device: not locked, tray closed
154     Cache mode:       writeback
155     Backing file:     TEST_DIR/t.qcow2.base (chain depth: 1)
156 (qemu) info block file
158 file: TEST_DIR/t.qcow2 (file)
159     Cache mode:       writeback
160 (qemu) info block backing
161 backing: TEST_DIR/t.qcow2.base (qcow2, read-only)
162     Cache mode:       writeback, ignore flushes
163 (qemu) info block backing-file
165 backing-file: TEST_DIR/t.qcow2.base (file, read-only)
166     Cache mode:       writeback, ignore flushes
167 (qemu) quit
169 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
170 QEMU X.Y.Z monitor - type 'help' for more information
171 (qemu) info block
172 drive0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
173     Removable device: not locked, tray closed
174     Cache mode:       writethrough
175     Backing file:     TEST_DIR/t.qcow2.base (chain depth: 1)
176 (qemu) info block file
178 file: TEST_DIR/t.qcow2 (file)
179     Cache mode:       writeback
180 (qemu) info block backing
181 backing: TEST_DIR/t.qcow2.base (qcow2, read-only)
182     Cache mode:       writeback, ignore flushes
183 (qemu) info block backing-file
185 backing-file: TEST_DIR/t.qcow2.base (file, read-only)
186     Cache mode:       writeback, ignore flushes
187 (qemu) quit
189 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
190 QEMU X.Y.Z monitor - type 'help' for more information
191 (qemu) info block
192 drive0 (NODE_NAME): TEST_DIR/t.qcow2 (qcow2)
193     Removable device: not locked, tray closed
194     Cache mode:       writeback, ignore flushes
195     Backing file:     TEST_DIR/t.qcow2.base (chain depth: 1)
196 (qemu) info block file
198 file: TEST_DIR/t.qcow2 (file)
199     Cache mode:       writeback, ignore flushes
200 (qemu) info block backing
201 backing: TEST_DIR/t.qcow2.base (qcow2, read-only)
202     Cache mode:       writeback, ignore flushes
203 (qemu) info block backing-file
205 backing-file: TEST_DIR/t.qcow2.base (file, read-only)
206     Cache mode:       writeback, ignore flushes
207 (qemu) quit
209 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
210 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
213 === Specifying the protocol layer ===
215 Testing: -drive file=TEST_DIR/t.qcow2,file.driver=file
216 QEMU X.Y.Z monitor - type 'help' for more information
217 (qemu) quit
220 === Leaving out required options ===
222 Testing: -drive driver=file
223 QEMU_PROG: -drive driver=file: The 'file' block driver requires a file name
225 Testing: -drive driver=file,filename=
226 QEMU_PROG: -drive driver=file,filename=: The 'file' block driver requires a file name
228 Testing: -drive driver=nbd
229 QEMU_PROG: -drive driver=nbd: NBD server address missing
231 Testing: -drive driver=raw
232 QEMU_PROG: -drive driver=raw: A block device must be specified for "file"
234 Testing: -drive file.driver=file
235 QEMU_PROG: -drive file.driver=file: The 'file' block driver requires a file name
237 Testing: -drive file.driver=nbd
238 QEMU_PROG: -drive file.driver=nbd: NBD server address missing
240 Testing: -drive file.driver=raw
241 QEMU_PROG: -drive file.driver=raw: A block device must be specified for "file"
243 Testing: -drive foo=bar
244 QEMU_PROG: -drive foo=bar: Must specify either driver or file
247 === Specifying both an option and its legacy alias ===
249 Testing: -drive file=TEST_DIR/t.qcow2,iops=1234,throttling.iops-total=5678
250 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
252 Testing: -drive file=TEST_DIR/t.qcow2,iops_rd=1234,throttling.iops-read=5678
253 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
255 Testing: -drive file=TEST_DIR/t.qcow2,iops_wr=1234,throttling.iops-write=5678
256 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
258 Testing: -drive file=TEST_DIR/t.qcow2,bps=1234,throttling.bps-total=5678
259 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
261 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd=1234,throttling.bps-read=5678
262 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
264 Testing: -drive file=TEST_DIR/t.qcow2,bps_wr=1234,throttling.bps-write=5678
265 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
267 Testing: -drive file=TEST_DIR/t.qcow2,iops_max=1234,throttling.iops-total-max=5678
268 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
270 Testing: -drive file=TEST_DIR/t.qcow2,iops_rd_max=1234,throttling.iops-read-max=5678
271 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
273 Testing: -drive file=TEST_DIR/t.qcow2,iops_wr_max=1234,throttling.iops-write-max=5678
274 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
276 Testing: -drive file=TEST_DIR/t.qcow2,bps_max=1234,throttling.bps-total-max=5678
277 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
279 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd_max=1234,throttling.bps-read-max=5678
280 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
282 Testing: -drive file=TEST_DIR/t.qcow2,bps_wr_max=1234,throttling.bps-write-max=5678
283 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
285 Testing: -drive file=TEST_DIR/t.qcow2,iops_size=1234,throttling.iops-size=5678
286 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
288 Testing: -drive file=TEST_DIR/t.qcow2,readonly=on,read-only=off
289 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
292 === Catching negative/large throttling values ===
294 Testing: -drive file=TEST_DIR/t.qcow2,iops=-1
295 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,iops=-1: bps/iops/max values must be within [0, 1000000000000000]
297 Testing: -drive file=TEST_DIR/t.qcow2,bps=-2
298 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps=-2: bps/iops/max values must be within [0, 1000000000000000]
300 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd=-3
301 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_rd=-3: bps/iops/max values must be within [0, 1000000000000000]
303 Testing: -drive file=TEST_DIR/t.qcow2,bps_rd_max=-3
304 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps_rd_max=-3: bps/iops/max values must be within [0, 1000000000000000]
306 Testing: -drive file=TEST_DIR/t.qcow2,throttling.iops-total=-4
307 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,throttling.iops-total=-4: bps/iops/max values must be within [0, 1000000000000000]
309 Testing: -drive file=TEST_DIR/t.qcow2,throttling.bps-total=-5
310 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,throttling.bps-total=-5: bps/iops/max values must be within [0, 1000000000000000]
312 Testing: -drive file=TEST_DIR/t.qcow2,bps=0
313 QEMU X.Y.Z monitor - type 'help' for more information
314 (qemu) quit
316 Testing: -drive file=TEST_DIR/t.qcow2,bps=1
317 QEMU X.Y.Z monitor - type 'help' for more information
318 (qemu) quit
320 Testing: -drive file=TEST_DIR/t.qcow2,bps=1000000000000000
321 QEMU X.Y.Z monitor - type 'help' for more information
322 (qemu) quit
324 Testing: -drive file=TEST_DIR/t.qcow2,bps=1000000000000001
325 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps=1000000000000001: bps/iops/max values must be within [0, 1000000000000000]
327 Testing: -drive file=TEST_DIR/t.qcow2,bps=9999999999999999
328 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,bps=9999999999999999: bps/iops/max values must be within [0, 1000000000000000]
331 === Parsing protocol from file name ===
333 Testing: -hda foo:bar
334 QEMU_PROG: -hda foo:bar: Unknown protocol 'foo'
336 Testing: -drive file=foo:bar
337 QEMU_PROG: -drive file=foo:bar: Unknown protocol 'foo'
339 Testing: -drive file.filename=foo:bar
340 QEMU_PROG: -drive file.filename=foo:bar: Could not open 'foo:bar': No such file or directory
342 Testing: -hda file:TEST_DIR/t.qcow2
343 QEMU X.Y.Z monitor - type 'help' for more information
344 (qemu) quit
346 Testing: -drive file=file:TEST_DIR/t.qcow2
347 QEMU X.Y.Z monitor - type 'help' for more information
348 (qemu) quit
350 Testing: -drive file.filename=file:TEST_DIR/t.qcow2
351 QEMU_PROG: -drive file.filename=file:TEST_DIR/t.qcow2: Could not open 'file:TEST_DIR/t.qcow2': No such file or directory
354 === Snapshot mode ===
356 wrote 4096/4096 bytes at offset 0
357 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
358 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=drive0 -snapshot
359 QEMU X.Y.Z monitor - type 'help' for more information
360 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
361 wrote 4096/4096 bytes at offset 0
362 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
363 (qemu) quit
365 Testing: -drive file=TEST_DIR/t.qcow2,snapshot=on,if=none,id=drive0
366 QEMU X.Y.Z monitor - type 'help' for more information
367 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
368 wrote 4096/4096 bytes at offset 0
369 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
370 (qemu) quit
372 Testing: -drive file.filename=TEST_DIR/t.qcow2,driver=qcow2,snapshot=on,if=none,id=drive0
373 QEMU X.Y.Z monitor - type 'help' for more information
374 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
375 wrote 4096/4096 bytes at offset 0
376 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
377 (qemu) quit
379 Testing: -drive file.filename=TEST_DIR/t.qcow2,driver=qcow2,if=none,id=drive0 -snapshot
380 QEMU X.Y.Z monitor - type 'help' for more information
381 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
382 wrote 4096/4096 bytes at offset 0
383 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
384 (qemu) quit
386 Testing: -drive file=file:TEST_DIR/t.qcow2,if=none,id=drive0 -snapshot
387 QEMU X.Y.Z monitor - type 'help' for more information
388 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
389 wrote 4096/4096 bytes at offset 0
390 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
391 (qemu) quit
393 Testing: -drive file=file:TEST_DIR/t.qcow2,snapshot=on,if=none,id=drive0
394 QEMU X.Y.Z monitor - type 'help' for more information
395 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
396 wrote 4096/4096 bytes at offset 0
397 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
398 (qemu) quit
400 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=drive0 -snapshot
401 QEMU X.Y.Z monitor - type 'help' for more information
402 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
403 wrote 4096/4096 bytes at offset 0
404 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
405 (qemu) quit
407 Testing: -drive file=TEST_DIR/t.qcow2,snapshot=on,if=none,id=drive0
408 QEMU X.Y.Z monitor - type 'help' for more information
409 (qemu) qemu-io drive0 "write -P 0x22 0 4k"
410 wrote 4096/4096 bytes at offset 0
411 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
412 (qemu) quit
414 read 4096/4096 bytes at offset 0
415 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
416 Testing: -drive file=TEST_DIR/t.qcow2,snapshot=off,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 read 4096/4096 bytes at offset 0
424 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
425 Testing: -drive file=TEST_DIR/t.qcow2,snapshot=on,if=none,id=drive0
426 QEMU X.Y.Z monitor - type 'help' for more information
427 (qemu) qemu-io drive0 "write -P 0x33 0 4k"
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 (qemu) commit drive0
431 (qemu) quit
433 read 4096/4096 bytes at offset 0
434 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
435 *** done