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