xref: /openbmc/qemu/tests/qemu-iotests/051.out (revision e1fe50dc)
1QA output created by 051
2Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
3
4=== Unknown option ===
5
6Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=
7QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=: Block format 'qcow2' used by device 'ide0-hd0' doesn't support the option 'unknown_opt'
8QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=: could not open disk image TEST_DIR/t.qcow2: Invalid argument
9
10Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on
11QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on: Block format 'qcow2' used by device 'ide0-hd0' doesn't support the option 'unknown_opt'
12QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on: could not open disk image TEST_DIR/t.qcow2: Invalid argument
13
14Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234
15QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234: Block format 'qcow2' used by device 'ide0-hd0' doesn't support the option 'unknown_opt'
16QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234: could not open disk image TEST_DIR/t.qcow2: Invalid argument
17
18Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo
19QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo: Block format 'qcow2' used by device 'ide0-hd0' doesn't support the option 'unknown_opt'
20QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo: could not open disk image TEST_DIR/t.qcow2: Invalid argument
21
22
23=== Enable and disable lazy refcounting on the command line, plus some invalid values ===
24
25Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=on
26qququiquit
27
28Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=off
29qququiquit
30
31Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=
32QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=: Parameter 'lazy_refcounts' expects 'on' or 'off'
33QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=: could not open disk image TEST_DIR/t.qcow2: Invalid argument
34
35Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=42
36QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=42: Parameter 'lazy_refcounts' expects 'on' or 'off'
37QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=42: could not open disk image TEST_DIR/t.qcow2: Invalid argument
38
39Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=foo
40QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=foo: Parameter 'lazy_refcounts' expects 'on' or 'off'
41QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=foo: could not open disk image TEST_DIR/t.qcow2: Invalid argument
42
43
44=== With version 2 images enabling lazy refcounts must fail ===
45
46Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728
47Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=on
48QEMU_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
49QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=on: could not open disk image TEST_DIR/t.qcow2: Invalid argument
50
51Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=off
52qququiquit
53
54
55=== No medium ===
56
57Testing: -drive if=floppy
58qququiquit
59
60Testing: -drive if=ide,media=cdrom
61qququiquit
62
63Testing: -drive if=scsi,media=cdrom
64qququiquit
65
66Testing: -drive if=ide
67QEMU_PROG: Device needs media, but drive is empty
68QEMU_PROG: Initialization of device ide-hd failed
69
70Testing: -drive if=virtio
71QEMU_PROG: -drive if=virtio: Device needs media, but drive is empty
72QEMU_PROG: -drive if=virtio: Device 'virtio-blk-pci' could not be initialized
73
74Testing: -drive if=scsi
75QEMU_PROG: -drive if=scsi: Device needs media, but drive is empty
76QEMU_PROG: Initialization of device lsi53c895a failed
77
78Testing: -drive if=none,id=disk -device ide-cd,drive=disk
79qququiquit
80
81Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-cd,drive=disk
82qququiquit
83
84Testing: -drive if=none,id=disk -device ide-drive,drive=disk
85QEMU_PROG: -device ide-drive,drive=disk: Device needs media, but drive is empty
86QEMU_PROG: -device ide-drive,drive=disk: Device 'ide-drive' could not be initialized
87
88Testing: -drive if=none,id=disk -device ide-hd,drive=disk
89QEMU_PROG: -device ide-hd,drive=disk: Device needs media, but drive is empty
90QEMU_PROG: -device ide-hd,drive=disk: Device 'ide-hd' could not be initialized
91
92Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-disk,drive=disk
93QEMU_PROG: -device scsi-disk,drive=disk: Device needs media, but drive is empty
94QEMU_PROG: -device scsi-disk,drive=disk: Device 'scsi-disk' could not be initialized
95
96Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-hd,drive=disk
97QEMU_PROG: -device scsi-hd,drive=disk: Device needs media, but drive is empty
98QEMU_PROG: -device scsi-hd,drive=disk: Device 'scsi-hd' could not be initialized
99
100
101=== Read-only ===
102
103Testing: -drive file=TEST_DIR/t.qcow2,if=floppy,readonly=on
104qququiquit
105
106Testing: -drive file=TEST_DIR/t.qcow2,if=ide,media=cdrom,readonly=on
107qququiquit
108
109Testing: -drive file=TEST_DIR/t.qcow2,if=scsi,media=cdrom,readonly=on
110qququiquit
111
112Testing: -drive file=TEST_DIR/t.qcow2,if=ide,readonly=on
113QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=ide,readonly=on: readonly not supported by this bus type
114
115Testing: -drive file=TEST_DIR/t.qcow2,if=virtio,readonly=on
116qququiquit
117
118Testing: -drive file=TEST_DIR/t.qcow2,if=scsi,readonly=on
119qququiquit
120
121Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device ide-cd,drive=disk
122qququiquit
123
124Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device lsi53c895a -device scsi-cd,drive=disk
125qququiquit
126
127Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device ide-drive,drive=disk
128QEMU_PROG: -device ide-drive,drive=disk: Can't use a read-only drive
129QEMU_PROG: -device ide-drive,drive=disk: Device 'ide-drive' could not be initialized
130
131Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device ide-hd,drive=disk
132QEMU_PROG: -device ide-hd,drive=disk: Can't use a read-only drive
133QEMU_PROG: -device ide-hd,drive=disk: Device 'ide-hd' could not be initialized
134
135Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device lsi53c895a -device scsi-disk,drive=disk
136qququiquit
137
138Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device lsi53c895a -device scsi-hd,drive=disk
139qququiquit
140
141
142=== Cache modes ===
143
144Testing: -drive media=cdrom,cache=none
145qququiquit
146
147Testing: -drive media=cdrom,cache=directsync
148qququiquit
149
150Testing: -drive media=cdrom,cache=writeback
151qququiquit
152
153Testing: -drive media=cdrom,cache=writethrough
154qququiquit
155
156Testing: -drive media=cdrom,cache=unsafe
157qququiquit
158
159Testing: -drive media=cdrom,cache=invalid_value
160QEMU_PROG: -drive media=cdrom,cache=invalid_value: invalid cache option
161
162*** done
163