Remove empty dummy file "loaders.cache" during uninstall (bug #1766841)
[qemu/ar7.git] / tests / qemu-iotests / 206.out
blob042342ae9d7ab985fb6b9930ec22e4690e774d4d
1 QA output created by 206
3 === Successful image creation (defaults) ===
5 Testing:
6 QMP_VERSION
7 {"return": {}}
8 {"return": {}}
9 {"return": {}}
10 {"return": {}}
11 {"return": {}}
12 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
14 image: TEST_DIR/t.IMGFMT
15 file format: IMGFMT
16 virtual size: 128M (134217728 bytes)
17 cluster_size: 65536
18 Format specific information:
19     compat: 1.1
20     lazy refcounts: false
21     refcount bits: 16
22     corrupt: false
24 === Successful image creation (inline blockdev-add, explicit defaults) ===
26 Testing:
27 QMP_VERSION
28 {"return": {}}
29 {"return": {}}
30 {"return": {}}
31 {"return": {}}
32 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
34 image: TEST_DIR/t.IMGFMT
35 file format: IMGFMT
36 virtual size: 64M (67108864 bytes)
37 cluster_size: 65536
38 Format specific information:
39     compat: 1.1
40     lazy refcounts: false
41     refcount bits: 16
42     corrupt: false
44 === Successful image creation (v3 non-default options) ===
46 Testing:
47 QMP_VERSION
48 {"return": {}}
49 {"return": {}}
50 {"return": {}}
51 {"return": {}}
52 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
54 image: TEST_DIR/t.IMGFMT
55 file format: IMGFMT
56 virtual size: 32M (33554432 bytes)
57 cluster_size: 2097152
58 Format specific information:
59     compat: 1.1
60     lazy refcounts: true
61     refcount bits: 1
62     corrupt: false
64 === Successful image creation (v2 non-default options) ===
66 Testing:
67 QMP_VERSION
68 {"return": {}}
69 {"return": {}}
70 {"return": {}}
71 {"return": {}}
72 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
74 image: TEST_DIR/t.IMGFMT
75 file format: IMGFMT
76 virtual size: 32M (33554432 bytes)
77 cluster_size: 512
78 backing file: TEST_DIR/t.IMGFMT.base
79 backing file format: IMGFMT
80 Format specific information:
81     compat: 0.10
82     refcount bits: 16
84 === Successful image creation (encrypted) ===
86 Testing: -object secret,id=keysec0,data=foo
87 QMP_VERSION
88 {"return": {}}
89 {"return": {}}
90 {"return": {}}
91 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
93 image: TEST_DIR/t.IMGFMT
94 file format: IMGFMT
95 virtual size: 32M (33554432 bytes)
96 Format specific information:
97     compat: 1.1
98     lazy refcounts: false
99     refcount bits: 16
100     encrypt:
101         ivgen alg: plain64
102         hash alg: sha1
103         cipher alg: twofish-128
104         uuid: 00000000-0000-0000-0000-000000000000
105         format: luks
106         cipher mode: ctr
107         slots:
108             [0]:
109                 active: true
110                 iters: 1024
111                 key offset: 4096
112                 stripes: 4000
113             [1]:
114                 active: false
115                 key offset: 69632
116             [2]:
117                 active: false
118                 key offset: 135168
119             [3]:
120                 active: false
121                 key offset: 200704
122             [4]:
123                 active: false
124                 key offset: 266240
125             [5]:
126                 active: false
127                 key offset: 331776
128             [6]:
129                 active: false
130                 key offset: 397312
131             [7]:
132                 active: false
133                 key offset: 462848
134         payload offset: 528384
135         master key iters: 1024
136     corrupt: false
138 === Invalid BlockdevRef ===
140 Testing:
141 QMP_VERSION
142 {"return": {}}
143 {"error": {"class": "GenericError", "desc": "Cannot find device=this doesn't exist nor node_name=this doesn't exist"}}
144 {"return": {}}
145 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
148 === Invalid sizes ===
150 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0
151 QMP_VERSION
152 {"return": {}}
153 {"error": {"class": "GenericError", "desc": "Image size must be a multiple of 512 bytes"}}
154 {"error": {"class": "GenericError", "desc": "Could not resize image: Image size cannot be negative"}}
155 {"error": {"class": "GenericError", "desc": "Could not resize image: Image size cannot be negative"}}
156 {"error": {"class": "GenericError", "desc": "Could not resize image: Failed to grow the L1 table: File too large"}}
157 {"return": {}}
158 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
161 === Invalid version ===
163 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0
164 QMP_VERSION
165 {"return": {}}
166 {"error": {"class": "GenericError", "desc": "Invalid parameter 'v1'"}}
167 {"error": {"class": "GenericError", "desc": "Lazy refcounts only supported with compatibility level 1.1 and above (use version=v3 or greater)"}}
168 {"error": {"class": "GenericError", "desc": "Different refcount widths than 16 bits require compatibility level 1.1 or above (use version=v3 or greater)"}}
169 {"return": {}}
170 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
173 === Invalid backing file options ===
175 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0
176 QMP_VERSION
177 {"return": {}}
178 {"error": {"class": "GenericError", "desc": "Backing file and preallocation cannot be used at the same time"}}
179 {"error": {"class": "GenericError", "desc": "Backing format cannot be used without backing file"}}
180 {"return": {}}
181 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
184 === Invalid cluster size ===
186 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0
187 QMP_VERSION
188 {"return": {}}
189 {"error": {"class": "GenericError", "desc": "Cluster size must be a power of two between 512 and 2048k"}}
190 {"error": {"class": "GenericError", "desc": "Cluster size must be a power of two between 512 and 2048k"}}
191 {"error": {"class": "GenericError", "desc": "Cluster size must be a power of two between 512 and 2048k"}}
192 {"error": {"class": "GenericError", "desc": "Cluster size must be a power of two between 512 and 2048k"}}
193 {"error": {"class": "GenericError", "desc": "Could not resize image: Failed to grow the L1 table: File too large"}}
194 {"return": {}}
195 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
198 === Invalid refcount width ===
200 Testing: -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=node0
201 QMP_VERSION
202 {"return": {}}
203 {"error": {"class": "GenericError", "desc": "Refcount width must be a power of two and may not exceed 64 bits"}}
204 {"error": {"class": "GenericError", "desc": "Refcount width must be a power of two and may not exceed 64 bits"}}
205 {"error": {"class": "GenericError", "desc": "Refcount width must be a power of two and may not exceed 64 bits"}}
206 {"return": {}}
207 {"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false}}
209 *** done