Revision c09b437b tests/qemu-iotests/051.out
b/tests/qemu-iotests/051.out | ||
---|---|---|
4 | 4 |
=== Unknown option === |
5 | 5 |
|
6 | 6 |
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt= |
7 |
qemu: -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: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=: could not open disk image TEST_DIR/t.qcow2: Invalid argument
|
|
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 | 9 |
|
10 | 10 |
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on |
11 |
qemu: -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: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on: could not open disk image TEST_DIR/t.qcow2: Invalid argument
|
|
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 | 13 |
|
14 | 14 |
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234 |
15 |
qemu: -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: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234: could not open disk image TEST_DIR/t.qcow2: Invalid argument
|
|
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 | 17 |
|
18 | 18 |
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo |
19 |
qemu: -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: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo: could not open disk image TEST_DIR/t.qcow2: Invalid argument
|
|
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 | 21 |
|
22 | 22 |
|
23 | 23 |
=== Enable and disable lazy refcounting on the command line, plus some invalid values === |
... | ... | |
29 | 29 |
q[K[Dqu[K[D[Dqui[K[D[D[Dquit[K |
30 | 30 |
|
31 | 31 |
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts= |
32 |
qemu: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=: Parameter 'lazy_refcounts' expects 'on' or 'off'
|
|
33 |
qemu: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=: could not open disk image TEST_DIR/t.qcow2: Invalid argument
|
|
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 | 34 |
|
35 | 35 |
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=42 |
36 |
qemu: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=42: Parameter 'lazy_refcounts' expects 'on' or 'off'
|
|
37 |
qemu: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=42: could not open disk image TEST_DIR/t.qcow2: Invalid argument
|
|
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 | 38 |
|
39 | 39 |
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=foo |
40 |
qemu: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=foo: Parameter 'lazy_refcounts' expects 'on' or 'off'
|
|
41 |
qemu: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=foo: could not open disk image TEST_DIR/t.qcow2: Invalid argument
|
|
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 | 42 |
|
43 | 43 |
|
44 | 44 |
=== With version 2 images enabling lazy refcounts must fail === |
45 | 45 |
|
46 | 46 |
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=134217728 |
47 | 47 |
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=on |
48 |
qemu: -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: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=on: could not open disk image TEST_DIR/t.qcow2: Invalid argument
|
|
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 | 50 |
|
51 | 51 |
Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,lazy_refcounts=off |
52 | 52 |
q[K[Dqu[K[D[Dqui[K[D[D[Dquit[K |
... | ... | |
64 | 64 |
q[K[Dqu[K[D[Dqui[K[D[D[Dquit[K |
65 | 65 |
|
66 | 66 |
Testing: -drive if=ide |
67 |
qemu: Device needs media, but drive is empty
|
|
68 |
qemu: Initialization of device ide-hd failed
|
|
67 |
QEMU_PROG: Device needs media, but drive is empty
|
|
68 |
QEMU_PROG: Initialization of device ide-hd failed
|
|
69 | 69 |
|
70 | 70 |
Testing: -drive if=virtio |
71 |
qemu: -drive if=virtio: Device needs media, but drive is empty
|
|
72 |
qemu: -drive if=virtio: Device 'virtio-blk-pci' could not be initialized
|
|
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 | 73 |
|
74 | 74 |
Testing: -drive if=scsi |
75 |
qemu: -drive if=scsi: Device needs media, but drive is empty
|
|
76 |
qemu: Initialization of device lsi53c895a failed
|
|
75 |
QEMU_PROG: -drive if=scsi: Device needs media, but drive is empty
|
|
76 |
QEMU_PROG: Initialization of device lsi53c895a failed
|
|
77 | 77 |
|
78 | 78 |
Testing: -drive if=none,id=disk -device ide-cd,drive=disk |
79 | 79 |
q[K[Dqu[K[D[Dqui[K[D[D[Dquit[K |
... | ... | |
82 | 82 |
q[K[Dqu[K[D[Dqui[K[D[D[Dquit[K |
83 | 83 |
|
84 | 84 |
Testing: -drive if=none,id=disk -device ide-drive,drive=disk |
85 |
qemu: -device ide-drive,drive=disk: Device needs media, but drive is empty
|
|
86 |
qemu: -device ide-drive,drive=disk: Device 'ide-drive' could not be initialized
|
|
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 | 87 |
|
88 | 88 |
Testing: -drive if=none,id=disk -device ide-hd,drive=disk |
89 |
qemu: -device ide-hd,drive=disk: Device needs media, but drive is empty
|
|
90 |
qemu: -device ide-hd,drive=disk: Device 'ide-hd' could not be initialized
|
|
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 | 91 |
|
92 | 92 |
Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-disk,drive=disk |
93 |
qemu: -device scsi-disk,drive=disk: Device needs media, but drive is empty
|
|
94 |
qemu: -device scsi-disk,drive=disk: Device 'scsi-disk' could not be initialized
|
|
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 | 95 |
|
96 | 96 |
Testing: -drive if=none,id=disk -device lsi53c895a -device scsi-hd,drive=disk |
97 |
qemu: -device scsi-hd,drive=disk: Device needs media, but drive is empty
|
|
98 |
qemu: -device scsi-hd,drive=disk: Device 'scsi-hd' could not be initialized
|
|
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 | 99 |
|
100 | 100 |
|
101 | 101 |
=== Read-only === |
... | ... | |
110 | 110 |
q[K[Dqu[K[D[Dqui[K[D[D[Dquit[K |
111 | 111 |
|
112 | 112 |
Testing: -drive file=TEST_DIR/t.qcow2,if=ide,readonly=on |
113 |
qemu: -drive file=TEST_DIR/t.qcow2,if=ide,readonly=on: readonly not supported by this bus type
|
|
113 |
QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=ide,readonly=on: readonly not supported by this bus type
|
|
114 | 114 |
|
115 | 115 |
Testing: -drive file=TEST_DIR/t.qcow2,if=virtio,readonly=on |
116 | 116 |
q[K[Dqu[K[D[Dqui[K[D[D[Dquit[K |
... | ... | |
125 | 125 |
q[K[Dqu[K[D[Dqui[K[D[D[Dquit[K |
126 | 126 |
|
127 | 127 |
Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device ide-drive,drive=disk |
128 |
qemu: -device ide-drive,drive=disk: Can't use a read-only drive
|
|
129 |
qemu: -device ide-drive,drive=disk: Device 'ide-drive' could not be initialized
|
|
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 | 130 |
|
131 | 131 |
Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device ide-hd,drive=disk |
132 |
qemu: -device ide-hd,drive=disk: Can't use a read-only drive
|
|
133 |
qemu: -device ide-hd,drive=disk: Device 'ide-hd' could not be initialized
|
|
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 | 134 |
|
135 | 135 |
Testing: -drive file=TEST_DIR/t.qcow2,if=none,id=disk,readonly=on -device lsi53c895a -device scsi-disk,drive=disk |
136 | 136 |
q[K[Dqu[K[D[Dqui[K[D[D[Dquit[K |
... | ... | |
157 | 157 |
q[K[Dqu[K[D[Dqui[K[D[D[Dquit[K |
158 | 158 |
|
159 | 159 |
Testing: -drive media=cdrom,cache=invalid_value |
160 |
qemu: -drive media=cdrom,cache=invalid_value: invalid cache option
|
|
160 |
QEMU_PROG: -drive media=cdrom,cache=invalid_value: invalid cache option
|
|
161 | 161 |
|
162 | 162 |
*** done |
Also available in: Unified diff