nbd: correctly propagate errors
[qemu/rayw.git] / tests / qemu-iotests / 051.out
blob7de18704f8ebe4ab68bb2fe5f1066a3efa7362a0
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=
8 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=: could not open disk image TEST_DIR/t.qcow2: Block format 'qcow2' used by device 'ide0-hd0' doesn't support the option 'unknown_opt'
10 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on
11 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on: could not open disk image TEST_DIR/t.qcow2: Block format 'qcow2' used by device 'ide0-hd0' doesn't support the option 'unknown_opt'
13 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234
14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234: could not open disk image TEST_DIR/t.qcow2: Block format 'qcow2' used by device 'ide0-hd0' doesn't support the option 'unknown_opt'
16 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo
17 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo: could not open disk image TEST_DIR/t.qcow2: Block format 'qcow2' used by device 'ide0-hd0' doesn't support the option 'unknown_opt'
20 === Invalid format ===
22 Testing: -drive file=TEST_DIR/t.qcow2,format=foo
23 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=foo: 'foo' invalid format
25 Testing: -drive file=TEST_DIR/t.qcow2,driver=foo
26 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,driver=foo: could not open disk image TEST_DIR/t.qcow2: Invalid driver: 'foo'
29 === Overriding backing file ===
31 Testing: -drive file=TEST_DIR/t.qcow2,driver=qcow2,backing.file.filename=TEST_DIR/t.qcow2.orig -nodefaults
32 QEMU X.Y.Z monitor - type 'help' for more information\r
33 (qemu) i\e[K\e[Din\e[K\e[D\e[Dinf\e[K\e[D\e[D\e[Dinfo\e[K\e[D\e[D\e[D\e[Dinfo \e[K\e[D\e[D\e[D\e[D\e[Dinfo b\e[K\e[D\e[D\e[D\e[D\e[D\e[Dinfo bl\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[Dinfo blo\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dinfo bloc\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dinfo block\e[K\r
34 ide0-hd0: TEST_DIR/t.qcow2 (qcow2)\r
35     Backing file:     TEST_DIR/t.qcow2.orig (chain depth: 1)\r
36 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K\r
39 === Enable and disable lazy refcounting on the command line, plus some invalid values ===
41 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=on
42 QEMU X.Y.Z monitor - type 'help' for more information
43 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
45 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=off
46 QEMU X.Y.Z monitor - type 'help' for more information
47 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
49 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=
50 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=: could not open disk image TEST_DIR/t.qcow2: Parameter 'lazy-refcounts' expects 'on' or 'off'
52 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=42
53 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=42: could not open disk image TEST_DIR/t.qcow2: Parameter 'lazy-refcounts' expects 'on' or 'off'
55 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=foo
56 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=foo: could not open disk image TEST_DIR/t.qcow2: Parameter 'lazy-refcounts' expects 'on' or 'off'
59 === With version 2 images enabling lazy refcounts must fail ===
61 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 
62 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=on
63 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=on: could not open disk image TEST_DIR/t.qcow2: Lazy refcounts require a qcow2 image with at least qemu 1.1 compatibility level
65 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=off
66 QEMU X.Y.Z monitor - type 'help' for more information
67 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
70 === No medium ===
72 Testing: -drive if=floppy
73 QEMU X.Y.Z monitor - type 'help' for more information
74 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
76 Testing: -drive if=ide,media=cdrom
77 QEMU X.Y.Z monitor - type 'help' for more information
78 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
80 Testing: -drive if=scsi,media=cdrom
81 QEMU X.Y.Z monitor - type 'help' for more information
82 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
84 Testing: -drive if=ide
85 QEMU X.Y.Z monitor - type 'help' for more information
86 (qemu) QEMU_PROG: Device needs media, but drive is empty
87 QEMU_PROG: Device initialization failed.
88 QEMU_PROG: Initialization of device ide-hd failed
90 Testing: -drive if=virtio
91 QEMU X.Y.Z monitor - type 'help' for more information
92 (qemu) QEMU_PROG: -drive if=virtio: Device needs media, but drive is empty
93 QEMU_PROG: -drive if=virtio: Device initialization failed.
94 QEMU_PROG: -drive if=virtio: Device 'virtio-blk-pci' could not be initialized
96 Testing: -drive if=scsi
97 QEMU X.Y.Z monitor - type 'help' for more information
98 (qemu) QEMU_PROG: -drive if=scsi: Device needs media, but drive is empty
99 QEMU_PROG: Device initialization failed.
100 QEMU_PROG: Initialization of device lsi53c895a failed
102 Testing: -drive if=none,id=disk -device ide-cd,drive=disk
103 QEMU X.Y.Z monitor - type 'help' for more information
104 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
106 Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-cd,drive=disk
107 QEMU X.Y.Z monitor - type 'help' for more information
108 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
110 Testing: -drive if=none,id=disk -device ide-drive,drive=disk
111 QEMU X.Y.Z monitor - type 'help' for more information
112 (qemu) QEMU_PROG: -device ide-drive,drive=disk: Device needs media, but drive is empty
113 QEMU_PROG: -device ide-drive,drive=disk: Device initialization failed.
114 QEMU_PROG: -device ide-drive,drive=disk: Device 'ide-drive' could not be initialized
116 Testing: -drive if=none,id=disk -device ide-hd,drive=disk
117 QEMU X.Y.Z monitor - type 'help' for more information
118 (qemu) QEMU_PROG: -device ide-hd,drive=disk: Device needs media, but drive is empty
119 QEMU_PROG: -device ide-hd,drive=disk: Device initialization failed.
120 QEMU_PROG: -device ide-hd,drive=disk: Device 'ide-hd' could not be initialized
122 Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-disk,drive=disk
123 QEMU X.Y.Z monitor - type 'help' for more information
124 (qemu) QEMU_PROG: -device scsi-disk,drive=disk: Device needs media, but drive is empty
125 QEMU_PROG: -device scsi-disk,drive=disk: Device initialization failed.
126 QEMU_PROG: -device scsi-disk,drive=disk: Device 'scsi-disk' could not be initialized
128 Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-hd,drive=disk
129 QEMU X.Y.Z monitor - type 'help' for more information
130 (qemu) QEMU_PROG: -device scsi-hd,drive=disk: Device needs media, but drive is empty
131 QEMU_PROG: -device scsi-hd,drive=disk: Device initialization failed.
132 QEMU_PROG: -device scsi-hd,drive=disk: Device 'scsi-hd' could not be initialized
135 === Read-only ===
137 Testing: -drive file=TEST_DIR/t.qcow2,if=floppy,readonly=on
138 QEMU X.Y.Z monitor - type 'help' for more information
139 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
141 Testing: -drive file=TEST_DIR/t.qcow2,if=ide,media=cdrom,readonly=on
142 QEMU X.Y.Z monitor - type 'help' for more information
143 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
145 Testing: -drive file=TEST_DIR/t.qcow2,if=scsi,media=cdrom,readonly=on
146 QEMU X.Y.Z monitor - type 'help' for more information
147 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
149 Testing: -drive file=TEST_DIR/t.qcow2,if=ide,readonly=on
150 QEMU X.Y.Z monitor - type 'help' for more information
151 (qemu) QEMU_PROG: Can't use a read-only drive
152 QEMU_PROG: Device initialization failed.
153 QEMU_PROG: Initialization of device ide-hd failed
155 Testing: -drive file=TEST_DIR/t.qcow2,if=virtio,readonly=on
156 QEMU X.Y.Z monitor - type 'help' for more information
157 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
159 Testing: -drive file=TEST_DIR/t.qcow2,if=scsi,readonly=on
160 QEMU X.Y.Z monitor - type 'help' for more information
161 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
163 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device ide-cd,drive=disk
164 QEMU X.Y.Z monitor - type 'help' for more information
165 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
167 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device lsi53c895a -device scsi-cd,drive=disk
168 QEMU X.Y.Z monitor - type 'help' for more information
169 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
171 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device ide-drive,drive=disk
172 QEMU X.Y.Z monitor - type 'help' for more information
173 (qemu) QEMU_PROG: -device ide-drive,drive=disk: Can't use a read-only drive
174 QEMU_PROG: -device ide-drive,drive=disk: Device initialization failed.
175 QEMU_PROG: -device ide-drive,drive=disk: Device 'ide-drive' could not be initialized
177 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device ide-hd,drive=disk
178 QEMU X.Y.Z monitor - type 'help' for more information
179 (qemu) QEMU_PROG: -device ide-hd,drive=disk: Can't use a read-only drive
180 QEMU_PROG: -device ide-hd,drive=disk: Device initialization failed.
181 QEMU_PROG: -device ide-hd,drive=disk: Device 'ide-hd' could not be initialized
183 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device lsi53c895a -device scsi-disk,drive=disk
184 QEMU X.Y.Z monitor - type 'help' for more information
185 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
187 Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device lsi53c895a -device scsi-hd,drive=disk
188 QEMU X.Y.Z monitor - type 'help' for more information
189 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
192 === Cache modes ===
194 Testing: -drive media=cdrom,cache=none
195 QEMU X.Y.Z monitor - type 'help' for more information
196 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
198 Testing: -drive media=cdrom,cache=directsync
199 QEMU X.Y.Z monitor - type 'help' for more information
200 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
202 Testing: -drive media=cdrom,cache=writeback
203 QEMU X.Y.Z monitor - type 'help' for more information
204 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
206 Testing: -drive media=cdrom,cache=writethrough
207 QEMU X.Y.Z monitor - type 'help' for more information
208 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
210 Testing: -drive media=cdrom,cache=unsafe
211 QEMU X.Y.Z monitor - type 'help' for more information
212 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
214 Testing: -drive media=cdrom,cache=invalid_value
215 QEMU_PROG: -drive media=cdrom,cache=invalid_value: invalid cache option
218 === Specifying the protocol layer ===
220 Testing: -drive file=TEST_DIR/t.qcow2,file.driver=file
221 QEMU X.Y.Z monitor - type 'help' for more information
222 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
224 Testing: -drive file=TEST_DIR/t.qcow2,file.driver=qcow2
225 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,file.driver=qcow2: could not open disk image TEST_DIR/t.qcow2: Block format 'qcow2' used by device '' doesn't support the option 'filename'
228 === Leaving out required options ===
230 Testing: -drive driver=file
231 QEMU_PROG: -drive driver=file: could not open disk image ide0-hd0: The 'file' block driver requires a file name
233 Testing: -drive driver=nbd
234 QEMU_PROG: -drive driver=nbd: could not open disk image ide0-hd0: one of path and host must be specified.
236 Testing: -drive driver=raw
237 QEMU_PROG: -drive driver=raw: could not open disk image ide0-hd0: Can't use 'raw' as a block driver for the protocol level
239 Testing: -drive file.driver=file
240 QEMU_PROG: -drive file.driver=file: could not open disk image ide0-hd0: The 'file' block driver requires a file name
242 Testing: -drive file.driver=nbd
243 QEMU_PROG: -drive file.driver=nbd: could not open disk image ide0-hd0: one of path and host must be specified.
245 Testing: -drive file.driver=raw
246 QEMU_PROG: -drive file.driver=raw: could not open disk image ide0-hd0: Can't use 'raw' as a block driver for the protocol level
248 Testing: -drive foo=bar
249 QEMU_PROG: -drive foo=bar: could not open disk image ide0-hd0: Must specify either driver or file
252 === Parsing protocol from file name ===
254 Testing: -hda foo:bar
255 QEMU_PROG: -hda foo:bar: could not open disk image foo:bar: Unknown protocol
257 Testing: -drive file=foo:bar
258 QEMU_PROG: -drive file=foo:bar: could not open disk image foo:bar: Unknown protocol
260 Testing: -drive file.filename=foo:bar
261 QEMU_PROG: -drive file.filename=foo:bar: could not open disk image ide0-hd0: Could not open 'foo:bar': No such file or directory
264 === Snapshot mode ===
266 wrote 4096/4096 bytes at offset 0
267 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
268 Testing: -drive file=TEST_DIR/t.qcow2 -snapshot
269 QEMU X.Y.Z monitor - type 'help' for more information
270 (qemu) q\e[K\e[Dqe\e[K\e[D\e[Dqem\e[K\e[D\e[D\e[Dqemu\e[K\e[D\e[D\e[D\e[Dqemu-\e[K\e[D\e[D\e[D\e[D\e[Dqemu-i\e[K\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io \e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io i\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io id\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-h\e[K\e[D\e[D\e[D\e[D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[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0 \e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0 4\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0 4k\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0 4k"\e[K
271 wrote 4096/4096 bytes at offset 0
272 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
273 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
275 Testing: -drive file=TEST_DIR/t.qcow2,snapshot=on
276 QEMU X.Y.Z monitor - type 'help' for more information
277 (qemu) q\e[K\e[Dqe\e[K\e[D\e[Dqem\e[K\e[D\e[D\e[Dqemu\e[K\e[D\e[D\e[D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dqemu-io ide0-hd0 "write -P 0x22 0 4k\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0 4k"\e[K
278 wrote 4096/4096 bytes at offset 0
279 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
280 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
282 Testing: -drive file.filename=TEST_DIR/t.qcow2,driver=qcow2,snapshot=on
283 QEMU X.Y.Z monitor - type 'help' for more information
284 (qemu) q\e[K\e[Dqe\e[K\e[D\e[Dqem\e[K\e[D\e[D\e[Dqemu\e[K\e[D\e[D\e[D\e[Dqemu-\e[K\e[D\e[D\e[D\e[D\e[Dqemu-i\e[K\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io \e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io i\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io id\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-h\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[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e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0 \e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0 4\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0 4k\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0 4k"\e[K
285 wrote 4096/4096 bytes at offset 0
286 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
287 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
289 Testing: -drive file.filename=TEST_DIR/t.qcow2,driver=qcow2 -snapshot
290 QEMU X.Y.Z monitor - type 'help' for more information
291 (qemu) q\e[K\e[Dqe\e[K\e[D\e[Dqem\e[K\e[D\e[D\e[Dqemu\e[K\e[D\e[D\e[D\e[Dqemu-\e[K\e[D\e[D\e[D\e[D\e[Dqemu-i\e[K\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io\e[K\e[D\e[D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[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0 4k"\e[K
292 wrote 4096/4096 bytes at offset 0
293 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
294 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
296 read 4096/4096 bytes at offset 0
297 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
298 Testing: -drive file=TEST_DIR/t.qcow2,snapshot=off
299 QEMU X.Y.Z monitor - type 'help' for more information
300 (qemu) q\e[K\e[Dqe\e[K\e[D\e[Dqem\e[K\e[D\e[D\e[Dqemu\e[K\e[D\e[D\e[D\e[Dqemu-\e[K\e[D\e[D\e[D\e[D\e[Dqemu-i\e[K\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io \e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io i\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io id\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-h\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0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D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0 \e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0 4\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0 4k\e[K\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[D\e[Dqemu-io ide0-hd0 "write -P 0x22 0 4k"\e[K
301 wrote 4096/4096 bytes at offset 0
302 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
303 (qemu) q\e[K\e[Dqu\e[K\e[D\e[Dqui\e[K\e[D\e[D\e[Dquit\e[K
305 read 4096/4096 bytes at offset 0
306 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
307 *** done