Statistics
| Branch: | Revision:

root / tests / qemu-iotests / 051.out @ 9a05feab

History | View | Annotate | Download (27.3 kB)

1 47e5df21 Kevin Wolf
QA output created by 051
2 47e5df21 Kevin Wolf
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 
3 4db9c980 Fam Zheng
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 backing_file='TEST_DIR/t.IMGFMT.base' 
4 47e5df21 Kevin Wolf
5 47e5df21 Kevin Wolf
=== Unknown option ===
6 47e5df21 Kevin Wolf
7 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=
8 2c78857b Max Reitz
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'
9 47e5df21 Kevin Wolf
10 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on
11 2c78857b Max Reitz
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'
12 47e5df21 Kevin Wolf
13 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234
14 2c78857b Max Reitz
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'
15 47e5df21 Kevin Wolf
16 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo
17 2c78857b Max Reitz
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'
18 47e5df21 Kevin Wolf
19 47e5df21 Kevin Wolf
20 06d22aa3 Kevin Wolf
=== Invalid format ===
21 06d22aa3 Kevin Wolf
22 06d22aa3 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,format=foo
23 06d22aa3 Kevin Wolf
QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=foo: 'foo' invalid format
24 06d22aa3 Kevin Wolf
25 06d22aa3 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,driver=foo
26 06d22aa3 Kevin Wolf
QEMU_PROG: -drive file=TEST_DIR/t.qcow2,driver=foo: could not open disk image TEST_DIR/t.qcow2: Invalid driver: 'foo'
27 06d22aa3 Kevin Wolf
28 06d22aa3 Kevin Wolf
29 4db9c980 Fam Zheng
=== Overriding backing file ===
30 4db9c980 Fam Zheng
31 4db9c980 Fam Zheng
Testing: -drive file=TEST_DIR/t.qcow2,driver=qcow2,backing.file.filename=TEST_DIR/t.qcow2.orig -nodefaults
32 f32f988c Kevin Wolf
QEMU X.Y.Z monitor - type 'help' for more information
33 f32f988c Kevin Wolf
(qemu) iininfinfoinfo info binfo blinfo bloinfo blocinfo block
34 f32f988c Kevin Wolf
ide0-hd0: TEST_DIR/t.qcow2 (qcow2)
35 f32f988c Kevin Wolf
    Backing file:     TEST_DIR/t.qcow2.orig (chain depth: 1)
36 f32f988c Kevin Wolf
(qemu) qququiquit
37 4db9c980 Fam Zheng
38 4db9c980 Fam Zheng
39 47e5df21 Kevin Wolf
=== Enable and disable lazy refcounting on the command line, plus some invalid values ===
40 47e5df21 Kevin Wolf
41 64aa99d3 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=on
42 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
43 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
44 47e5df21 Kevin Wolf
45 64aa99d3 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=off
46 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
47 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
48 47e5df21 Kevin Wolf
49 64aa99d3 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=
50 2c78857b Max Reitz
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'
51 47e5df21 Kevin Wolf
52 64aa99d3 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=42
53 2c78857b Max Reitz
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'
54 47e5df21 Kevin Wolf
55 64aa99d3 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=foo
56 2c78857b Max Reitz
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'
57 47e5df21 Kevin Wolf
58 47e5df21 Kevin Wolf
59 47e5df21 Kevin Wolf
=== With version 2 images enabling lazy refcounts must fail ===
60 47e5df21 Kevin Wolf
61 47e5df21 Kevin Wolf
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 
62 64aa99d3 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=on
63 2c78857b Max Reitz
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
64 47e5df21 Kevin Wolf
65 64aa99d3 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy-refcounts=off
66 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
67 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
68 47e5df21 Kevin Wolf
69 47e5df21 Kevin Wolf
70 47e5df21 Kevin Wolf
=== No medium ===
71 47e5df21 Kevin Wolf
72 47e5df21 Kevin Wolf
Testing: -drive if=floppy
73 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
74 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
75 47e5df21 Kevin Wolf
76 47e5df21 Kevin Wolf
Testing: -drive if=ide,media=cdrom
77 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
78 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
79 47e5df21 Kevin Wolf
80 47e5df21 Kevin Wolf
Testing: -drive if=scsi,media=cdrom
81 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
82 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
83 47e5df21 Kevin Wolf
84 47e5df21 Kevin Wolf
Testing: -drive if=ide
85 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
86 7a370406 Kevin Wolf
(qemu) QEMU_PROG: Device needs media, but drive is empty
87 7a370406 Kevin Wolf
QEMU_PROG: Device initialization failed.
88 c09b437b Stefan Hajnoczi
QEMU_PROG: Initialization of device ide-hd failed
89 47e5df21 Kevin Wolf
90 47e5df21 Kevin Wolf
Testing: -drive if=virtio
91 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
92 7a370406 Kevin Wolf
(qemu) QEMU_PROG: -drive if=virtio: Device needs media, but drive is empty
93 7a370406 Kevin Wolf
QEMU_PROG: -drive if=virtio: Device initialization failed.
94 c09b437b Stefan Hajnoczi
QEMU_PROG: -drive if=virtio: Device 'virtio-blk-pci' could not be initialized
95 47e5df21 Kevin Wolf
96 47e5df21 Kevin Wolf
Testing: -drive if=scsi
97 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
98 7a370406 Kevin Wolf
(qemu) QEMU_PROG: -drive if=scsi: Device needs media, but drive is empty
99 7a370406 Kevin Wolf
QEMU_PROG: Device initialization failed.
100 c09b437b Stefan Hajnoczi
QEMU_PROG: Initialization of device lsi53c895a failed
101 47e5df21 Kevin Wolf
102 47e5df21 Kevin Wolf
Testing: -drive if=none,id=disk -device ide-cd,drive=disk
103 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
104 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
105 47e5df21 Kevin Wolf
106 47e5df21 Kevin Wolf
Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-cd,drive=disk
107 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
108 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
109 47e5df21 Kevin Wolf
110 47e5df21 Kevin Wolf
Testing: -drive if=none,id=disk -device ide-drive,drive=disk
111 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
112 7a370406 Kevin Wolf
(qemu) QEMU_PROG: -device ide-drive,drive=disk: Device needs media, but drive is empty
113 7a370406 Kevin Wolf
QEMU_PROG: -device ide-drive,drive=disk: Device initialization failed.
114 c09b437b Stefan Hajnoczi
QEMU_PROG: -device ide-drive,drive=disk: Device 'ide-drive' could not be initialized
115 47e5df21 Kevin Wolf
116 47e5df21 Kevin Wolf
Testing: -drive if=none,id=disk -device ide-hd,drive=disk
117 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
118 7a370406 Kevin Wolf
(qemu) QEMU_PROG: -device ide-hd,drive=disk: Device needs media, but drive is empty
119 7a370406 Kevin Wolf
QEMU_PROG: -device ide-hd,drive=disk: Device initialization failed.
120 c09b437b Stefan Hajnoczi
QEMU_PROG: -device ide-hd,drive=disk: Device 'ide-hd' could not be initialized
121 47e5df21 Kevin Wolf
122 47e5df21 Kevin Wolf
Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-disk,drive=disk
123 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
124 7a370406 Kevin Wolf
(qemu) QEMU_PROG: -device scsi-disk,drive=disk: Device needs media, but drive is empty
125 7a370406 Kevin Wolf
QEMU_PROG: -device scsi-disk,drive=disk: Device initialization failed.
126 c09b437b Stefan Hajnoczi
QEMU_PROG: -device scsi-disk,drive=disk: Device 'scsi-disk' could not be initialized
127 47e5df21 Kevin Wolf
128 47e5df21 Kevin Wolf
Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-hd,drive=disk
129 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
130 7a370406 Kevin Wolf
(qemu) QEMU_PROG: -device scsi-hd,drive=disk: Device needs media, but drive is empty
131 7a370406 Kevin Wolf
QEMU_PROG: -device scsi-hd,drive=disk: Device initialization failed.
132 c09b437b Stefan Hajnoczi
QEMU_PROG: -device scsi-hd,drive=disk: Device 'scsi-hd' could not be initialized
133 47e5df21 Kevin Wolf
134 47e5df21 Kevin Wolf
135 47e5df21 Kevin Wolf
=== Read-only ===
136 47e5df21 Kevin Wolf
137 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,if=floppy,readonly=on
138 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
139 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
140 47e5df21 Kevin Wolf
141 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,if=ide,media=cdrom,readonly=on
142 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
143 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
144 47e5df21 Kevin Wolf
145 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,if=scsi,media=cdrom,readonly=on
146 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
147 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
148 47e5df21 Kevin Wolf
149 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,if=ide,readonly=on
150 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
151 4f8a066b Kevin Wolf
(qemu) QEMU_PROG: Can't use a read-only drive
152 4f8a066b Kevin Wolf
QEMU_PROG: Device initialization failed.
153 4f8a066b Kevin Wolf
QEMU_PROG: Initialization of device ide-hd failed
154 47e5df21 Kevin Wolf
155 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,if=virtio,readonly=on
156 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
157 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
158 47e5df21 Kevin Wolf
159 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,if=scsi,readonly=on
160 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
161 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
162 47e5df21 Kevin Wolf
163 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device ide-cd,drive=disk
164 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
165 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
166 47e5df21 Kevin Wolf
167 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device lsi53c895a -device scsi-cd,drive=disk
168 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
169 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
170 47e5df21 Kevin Wolf
171 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device ide-drive,drive=disk
172 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
173 7a370406 Kevin Wolf
(qemu) QEMU_PROG: -device ide-drive,drive=disk: Can't use a read-only drive
174 7a370406 Kevin Wolf
QEMU_PROG: -device ide-drive,drive=disk: Device initialization failed.
175 c09b437b Stefan Hajnoczi
QEMU_PROG: -device ide-drive,drive=disk: Device 'ide-drive' could not be initialized
176 47e5df21 Kevin Wolf
177 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device ide-hd,drive=disk
178 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
179 7a370406 Kevin Wolf
(qemu) QEMU_PROG: -device ide-hd,drive=disk: Can't use a read-only drive
180 7a370406 Kevin Wolf
QEMU_PROG: -device ide-hd,drive=disk: Device initialization failed.
181 c09b437b Stefan Hajnoczi
QEMU_PROG: -device ide-hd,drive=disk: Device 'ide-hd' could not be initialized
182 47e5df21 Kevin Wolf
183 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device lsi53c895a -device scsi-disk,drive=disk
184 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
185 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
186 47e5df21 Kevin Wolf
187 47e5df21 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device lsi53c895a -device scsi-hd,drive=disk
188 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
189 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
190 47e5df21 Kevin Wolf
191 47e5df21 Kevin Wolf
192 47e5df21 Kevin Wolf
=== Cache modes ===
193 47e5df21 Kevin Wolf
194 47e5df21 Kevin Wolf
Testing: -drive media=cdrom,cache=none
195 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
196 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
197 47e5df21 Kevin Wolf
198 47e5df21 Kevin Wolf
Testing: -drive media=cdrom,cache=directsync
199 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
200 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
201 47e5df21 Kevin Wolf
202 47e5df21 Kevin Wolf
Testing: -drive media=cdrom,cache=writeback
203 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
204 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
205 47e5df21 Kevin Wolf
206 47e5df21 Kevin Wolf
Testing: -drive media=cdrom,cache=writethrough
207 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
208 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
209 47e5df21 Kevin Wolf
210 47e5df21 Kevin Wolf
Testing: -drive media=cdrom,cache=unsafe
211 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
212 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
213 47e5df21 Kevin Wolf
214 47e5df21 Kevin Wolf
Testing: -drive media=cdrom,cache=invalid_value
215 c09b437b Stefan Hajnoczi
QEMU_PROG: -drive media=cdrom,cache=invalid_value: invalid cache option
216 47e5df21 Kevin Wolf
217 2af5ef70 Kevin Wolf
218 2af5ef70 Kevin Wolf
=== Specifying the protocol layer ===
219 2af5ef70 Kevin Wolf
220 2af5ef70 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,file.driver=file
221 ac9524dc Stefan Hajnoczi
QEMU X.Y.Z monitor - type 'help' for more information
222 ac9524dc Stefan Hajnoczi
(qemu) qququiquit
223 2af5ef70 Kevin Wolf
224 2af5ef70 Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,file.driver=qcow2
225 505d7583 Max Reitz
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'
226 2af5ef70 Kevin Wolf
227 98289620 Kevin Wolf
228 765003db Kevin Wolf
=== Leaving out required options ===
229 765003db Kevin Wolf
230 765003db Kevin Wolf
Testing: -drive driver=file
231 765003db Kevin Wolf
QEMU_PROG: -drive driver=file: could not open disk image ide0-hd0: The 'file' block driver requires a file name
232 765003db Kevin Wolf
233 765003db Kevin Wolf
Testing: -drive driver=nbd
234 77e8b9ca Paolo Bonzini
QEMU_PROG: -drive driver=nbd: could not open disk image ide0-hd0: one of path and host must be specified.
235 765003db Kevin Wolf
236 765003db Kevin Wolf
Testing: -drive driver=raw
237 765003db Kevin Wolf
QEMU_PROG: -drive driver=raw: could not open disk image ide0-hd0: Can't use 'raw' as a block driver for the protocol level
238 765003db Kevin Wolf
239 765003db Kevin Wolf
Testing: -drive file.driver=file
240 765003db Kevin Wolf
QEMU_PROG: -drive file.driver=file: could not open disk image ide0-hd0: The 'file' block driver requires a file name
241 765003db Kevin Wolf
242 765003db Kevin Wolf
Testing: -drive file.driver=nbd
243 77e8b9ca Paolo Bonzini
QEMU_PROG: -drive file.driver=nbd: could not open disk image ide0-hd0: one of path and host must be specified.
244 765003db Kevin Wolf
245 765003db Kevin Wolf
Testing: -drive file.driver=raw
246 765003db Kevin Wolf
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
247 765003db Kevin Wolf
248 765003db Kevin Wolf
Testing: -drive foo=bar
249 765003db Kevin Wolf
QEMU_PROG: -drive foo=bar: could not open disk image ide0-hd0: Must specify either driver or file
250 765003db Kevin Wolf
251 765003db Kevin Wolf
252 98289620 Kevin Wolf
=== Parsing protocol from file name ===
253 98289620 Kevin Wolf
254 98289620 Kevin Wolf
Testing: -hda foo:bar
255 2c78857b Max Reitz
QEMU_PROG: -hda foo:bar: could not open disk image foo:bar: Unknown protocol
256 98289620 Kevin Wolf
257 98289620 Kevin Wolf
Testing: -drive file=foo:bar
258 2c78857b Max Reitz
QEMU_PROG: -drive file=foo:bar: could not open disk image foo:bar: Unknown protocol
259 98289620 Kevin Wolf
260 98289620 Kevin Wolf
Testing: -drive file.filename=foo:bar
261 b04b6b6e Fam Zheng
QEMU_PROG: -drive file.filename=foo:bar: could not open disk image ide0-hd0: Could not open 'foo:bar': No such file or directory
262 98289620 Kevin Wolf
263 f32f988c Kevin Wolf
264 f32f988c Kevin Wolf
=== Snapshot mode ===
265 f32f988c Kevin Wolf
266 f32f988c Kevin Wolf
wrote 4096/4096 bytes at offset 0
267 f32f988c Kevin Wolf
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
268 f32f988c Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2 -snapshot
269 f32f988c Kevin Wolf
QEMU X.Y.Z monitor - type 'help' for more information
270 f32f988c Kevin Wolf
(qemu) qqeqemqemuqemu-qemu-iqemu-ioqemu-io qemu-io iqemu-io idqemu-io ideqemu-io ide0qemu-io ide0-qemu-io ide0-hqemu-io ide0-hdqemu-io ide0-hd0qemu-io ide0-hd0 qemu-io ide0-hd0 "qemu-io ide0-hd0 "wqemu-io ide0-hd0 "wrqemu-io ide0-hd0 "wriqemu-io ide0-hd0 "writqemu-io ide0-hd0 "writeqemu-io ide0-hd0 "write qemu-io ide0-hd0 "write -qemu-io ide0-hd0 "write -Pqemu-io ide0-hd0 "write -P qemu-io ide0-hd0 "write -P 0qemu-io ide0-hd0 "write -P 0xqemu-io ide0-hd0 "write -P 0x2qemu-io ide0-hd0 "write -P 0x22qemu-io ide0-hd0 "write -P 0x22 qemu-io ide0-hd0 "write -P 0x22 0qemu-io ide0-hd0 "write -P 0x22 0 qemu-io ide0-hd0 "write -P 0x22 0 4qemu-io ide0-hd0 "write -P 0x22 0 4kqemu-io ide0-hd0 "write -P 0x22 0 4k"
271 f32f988c Kevin Wolf
wrote 4096/4096 bytes at offset 0
272 f32f988c Kevin Wolf
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
273 f32f988c Kevin Wolf
(qemu) qququiquit
274 f32f988c Kevin Wolf
275 f32f988c Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,snapshot=on
276 f32f988c Kevin Wolf
QEMU X.Y.Z monitor - type 'help' for more information
277 f32f988c Kevin Wolf
(qemu) qqeqemqemuqemu-qemu-iqemu-ioqemu-io qemu-io iqemu-io idqemu-io ideqemu-io ide0qemu-io ide0-qemu-io ide0-hqemu-io ide0-hdqemu-io ide0-hd0qemu-io ide0-hd0 qemu-io ide0-hd0 "qemu-io ide0-hd0 "wqemu-io ide0-hd0 "wrqemu-io ide0-hd0 "wriqemu-io ide0-hd0 "writqemu-io ide0-hd0 "writeqemu-io ide0-hd0 "write qemu-io ide0-hd0 "write -qemu-io ide0-hd0 "write -Pqemu-io ide0-hd0 "write -P qemu-io ide0-hd0 "write -P 0qemu-io ide0-hd0 "write -P 0xqemu-io ide0-hd0 "write -P 0x2qemu-io ide0-hd0 "write -P 0x22qemu-io ide0-hd0 "write -P 0x22 qemu-io ide0-hd0 "write -P 0x22 0qemu-io ide0-hd0 "write -P 0x22 0 qemu-io ide0-hd0 "write -P 0x22 0 4qemu-io ide0-hd0 "write -P 0x22 0 4kqemu-io ide0-hd0 "write -P 0x22 0 4k"
278 f32f988c Kevin Wolf
wrote 4096/4096 bytes at offset 0
279 f32f988c Kevin Wolf
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
280 f32f988c Kevin Wolf
(qemu) qququiquit
281 f32f988c Kevin Wolf
282 f32f988c Kevin Wolf
Testing: -drive file.filename=TEST_DIR/t.qcow2,driver=qcow2,snapshot=on
283 f32f988c Kevin Wolf
QEMU X.Y.Z monitor - type 'help' for more information
284 f32f988c Kevin Wolf
(qemu) qqeqemqemuqemu-qemu-iqemu-ioqemu-io qemu-io iqemu-io idqemu-io ideqemu-io ide0qemu-io ide0-qemu-io ide0-hqemu-io ide0-hdqemu-io ide0-hd0qemu-io ide0-hd0 qemu-io ide0-hd0 "qemu-io ide0-hd0 "wqemu-io ide0-hd0 "wrqemu-io ide0-hd0 "wriqemu-io ide0-hd0 "writqemu-io ide0-hd0 "writeqemu-io ide0-hd0 "write qemu-io ide0-hd0 "write -qemu-io ide0-hd0 "write -Pqemu-io ide0-hd0 "write -P qemu-io ide0-hd0 "write -P 0qemu-io ide0-hd0 "write -P 0xqemu-io ide0-hd0 "write -P 0x2qemu-io ide0-hd0 "write -P 0x22qemu-io ide0-hd0 "write -P 0x22 qemu-io ide0-hd0 "write -P 0x22 0qemu-io ide0-hd0 "write -P 0x22 0 qemu-io ide0-hd0 "write -P 0x22 0 4qemu-io ide0-hd0 "write -P 0x22 0 4kqemu-io ide0-hd0 "write -P 0x22 0 4k"
285 f32f988c Kevin Wolf
wrote 4096/4096 bytes at offset 0
286 f32f988c Kevin Wolf
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
287 f32f988c Kevin Wolf
(qemu) qququiquit
288 f32f988c Kevin Wolf
289 f32f988c Kevin Wolf
Testing: -drive file.filename=TEST_DIR/t.qcow2,driver=qcow2 -snapshot
290 f32f988c Kevin Wolf
QEMU X.Y.Z monitor - type 'help' for more information
291 f32f988c Kevin Wolf
(qemu) qqeqemqemuqemu-qemu-iqemu-ioqemu-io qemu-io iqemu-io idqemu-io ideqemu-io ide0qemu-io ide0-qemu-io ide0-hqemu-io ide0-hdqemu-io ide0-hd0qemu-io ide0-hd0 qemu-io ide0-hd0 "qemu-io ide0-hd0 "wqemu-io ide0-hd0 "wrqemu-io ide0-hd0 "wriqemu-io ide0-hd0 "writqemu-io ide0-hd0 "writeqemu-io ide0-hd0 "write qemu-io ide0-hd0 "write -qemu-io ide0-hd0 "write -Pqemu-io ide0-hd0 "write -P qemu-io ide0-hd0 "write -P 0qemu-io ide0-hd0 "write -P 0xqemu-io ide0-hd0 "write -P 0x2qemu-io ide0-hd0 "write -P 0x22qemu-io ide0-hd0 "write -P 0x22 qemu-io ide0-hd0 "write -P 0x22 0qemu-io ide0-hd0 "write -P 0x22 0 qemu-io ide0-hd0 "write -P 0x22 0 4qemu-io ide0-hd0 "write -P 0x22 0 4kqemu-io ide0-hd0 "write -P 0x22 0 4k"
292 f32f988c Kevin Wolf
wrote 4096/4096 bytes at offset 0
293 f32f988c Kevin Wolf
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
294 f32f988c Kevin Wolf
(qemu) qququiquit
295 f32f988c Kevin Wolf
296 f32f988c Kevin Wolf
read 4096/4096 bytes at offset 0
297 f32f988c Kevin Wolf
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
298 f32f988c Kevin Wolf
Testing: -drive file=TEST_DIR/t.qcow2,snapshot=off
299 f32f988c Kevin Wolf
QEMU X.Y.Z monitor - type 'help' for more information
300 f32f988c Kevin Wolf
(qemu) qqeqemqemuqemu-qemu-iqemu-ioqemu-io qemu-io iqemu-io idqemu-io ideqemu-io ide0qemu-io ide0-qemu-io ide0-hqemu-io ide0-hdqemu-io ide0-hd0qemu-io ide0-hd0 qemu-io ide0-hd0 "qemu-io ide0-hd0 "wqemu-io ide0-hd0 "wrqemu-io ide0-hd0 "wriqemu-io ide0-hd0 "writqemu-io ide0-hd0 "writeqemu-io ide0-hd0 "write qemu-io ide0-hd0 "write -qemu-io ide0-hd0 "write -Pqemu-io ide0-hd0 "write -P qemu-io ide0-hd0 "write -P 0qemu-io ide0-hd0 "write -P 0xqemu-io ide0-hd0 "write -P 0x2qemu-io ide0-hd0 "write -P 0x22qemu-io ide0-hd0 "write -P 0x22 qemu-io ide0-hd0 "write -P 0x22 0qemu-io ide0-hd0 "write -P 0x22 0 qemu-io ide0-hd0 "write -P 0x22 0 4qemu-io ide0-hd0 "write -P 0x22 0 4kqemu-io ide0-hd0 "write -P 0x22 0 4k"
301 f32f988c Kevin Wolf
wrote 4096/4096 bytes at offset 0
302 f32f988c Kevin Wolf
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
303 f32f988c Kevin Wolf
(qemu) qququiquit
304 f32f988c Kevin Wolf
305 f32f988c Kevin Wolf
read 4096/4096 bytes at offset 0
306 f32f988c Kevin Wolf
4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
307 47e5df21 Kevin Wolf
*** done