xref: /openbmc/qemu/tests/qemu-iotests/184.out (revision a8583393)
1QA output created by 184
2Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
3
4== checking interface ==
5Testing:
6{
7    QMP_VERSION
8}
9{
10    "return": {
11    }
12}
13{
14    "return": {
15    }
16}
17{
18    "return": {
19    }
20}
21{
22    "return": {
23    }
24}
25{
26    "return": [
27        {
28            "iops_rd": 0,
29            "detect_zeroes": "off",
30            "image": {
31                "virtual-size": 67108864,
32                "filename": "json:{\"throttle-group\": \"group0\", \"driver\": \"throttle\", \"file\": {\"driver\": \"qcow2\", \"file\": {\"driver\": \"file\", \"filename\": \"TEST_DIR/t.qcow2\"}}}",
33                "cluster-size": 65536,
34                "format": "throttle",
35                "actual-size": 200704,
36                "dirty-flag": false
37            },
38            "iops_wr": 0,
39            "ro": false,
40            "node-name": "throttle0",
41            "backing_file_depth": 0,
42            "drv": "throttle",
43            "iops": 0,
44            "bps_wr": 0,
45            "write_threshold": 0,
46            "encrypted": false,
47            "bps": 0,
48            "bps_rd": 0,
49            "cache": {
50                "no-flush": false,
51                "direct": false,
52                "writeback": true
53            },
54            "file": "json:{\"throttle-group\": \"group0\", \"driver\": \"throttle\", \"file\": {\"driver\": \"qcow2\", \"file\": {\"driver\": \"file\", \"filename\": \"TEST_DIR/t.qcow2\"}}}",
55            "encryption_key_missing": false
56        },
57        {
58            "iops_rd": 0,
59            "detect_zeroes": "off",
60            "image": {
61                "virtual-size": 67108864,
62                "filename": "TEST_DIR/t.qcow2",
63                "cluster-size": 65536,
64                "format": "qcow2",
65                "actual-size": 200704,
66                "format-specific": {
67                    "type": "qcow2",
68                    "data": {
69                        "compat": "1.1",
70                        "lazy-refcounts": false,
71                        "refcount-bits": 16,
72                        "corrupt": false
73                    }
74                },
75                "dirty-flag": false
76            },
77            "iops_wr": 0,
78            "ro": false,
79            "node-name": "disk0",
80            "backing_file_depth": 0,
81            "drv": "qcow2",
82            "iops": 0,
83            "bps_wr": 0,
84            "write_threshold": 0,
85            "encrypted": false,
86            "bps": 0,
87            "bps_rd": 0,
88            "cache": {
89                "no-flush": false,
90                "direct": false,
91                "writeback": true
92            },
93            "file": "TEST_DIR/t.qcow2",
94            "encryption_key_missing": false
95        },
96        {
97            "iops_rd": 0,
98            "detect_zeroes": "off",
99            "image": {
100                "virtual-size": 197120,
101                "filename": "TEST_DIR/t.qcow2",
102                "format": "file",
103                "actual-size": 200704,
104                "dirty-flag": false
105            },
106            "iops_wr": 0,
107            "ro": false,
108            "node-name": "NODE_NAME",
109            "backing_file_depth": 0,
110            "drv": "file",
111            "iops": 0,
112            "bps_wr": 0,
113            "write_threshold": 0,
114            "encrypted": false,
115            "bps": 0,
116            "bps_rd": 0,
117            "cache": {
118                "no-flush": false,
119                "direct": false,
120                "writeback": true
121            },
122            "file": "TEST_DIR/t.qcow2",
123            "encryption_key_missing": false
124        }
125    ]
126}
127{
128    "return": [
129    ]
130}
131{
132    "return": {
133    }
134}
135{
136    "timestamp": {
137        "seconds":  TIMESTAMP,
138        "microseconds":  TIMESTAMP
139    },
140    "event": "SHUTDOWN",
141    "data": {
142        "guest": false
143    }
144}
145
146
147== property changes in ThrottleGroup ==
148Testing:
149{
150    QMP_VERSION
151}
152{
153    "return": {
154    }
155}
156{
157    "return": {
158    }
159}
160{
161    "return": {
162        "bps-read-max-length": 1,
163        "iops-read-max-length": 1,
164        "bps-read-max": 0,
165        "bps-total": 0,
166        "iops-total-max-length": 1,
167        "iops-total": 1000,
168        "iops-write-max": 0,
169        "bps-write": 0,
170        "bps-total-max": 0,
171        "bps-write-max": 0,
172        "iops-size": 0,
173        "iops-read": 0,
174        "iops-write-max-length": 1,
175        "iops-write": 0,
176        "bps-total-max-length": 1,
177        "iops-read-max": 0,
178        "bps-read": 0,
179        "bps-write-max-length": 1,
180        "iops-total-max": 0
181    }
182}
183{
184    "return": {
185    }
186}
187{
188    "return": {
189        "bps-read-max-length": 1,
190        "iops-read-max-length": 1,
191        "bps-read-max": 0,
192        "bps-total": 0,
193        "iops-total-max-length": 1,
194        "iops-total": 0,
195        "iops-write-max": 0,
196        "bps-write": 0,
197        "bps-total-max": 0,
198        "bps-write-max": 0,
199        "iops-size": 0,
200        "iops-read": 0,
201        "iops-write-max-length": 1,
202        "iops-write": 0,
203        "bps-total-max-length": 1,
204        "iops-read-max": 0,
205        "bps-read": 0,
206        "bps-write-max-length": 1,
207        "iops-total-max": 0
208    }
209}
210{
211    "return": {
212    }
213}
214{
215    "timestamp": {
216        "seconds":  TIMESTAMP,
217        "microseconds":  TIMESTAMP
218    },
219    "event": "SHUTDOWN",
220    "data": {
221        "guest": false
222    }
223}
224
225
226== object creation/set errors  ==
227Testing:
228{
229    QMP_VERSION
230}
231{
232    "return": {
233    }
234}
235{
236    "return": {
237    }
238}
239{
240    "error": {
241        "class": "GenericError",
242        "desc": "Property cannot be set after initialization"
243    }
244}
245{
246    "error": {
247        "class": "GenericError",
248        "desc": "bps/iops/max total values and read/write values cannot be used at the same time"
249    }
250}
251{
252    "return": {
253    }
254}
255{
256    "timestamp": {
257        "seconds":  TIMESTAMP,
258        "microseconds":  TIMESTAMP
259    },
260    "event": "SHUTDOWN",
261    "data": {
262        "guest": false
263    }
264}
265
266
267== don't specify group ==
268Testing:
269{
270    QMP_VERSION
271}
272{
273    "return": {
274    }
275}
276{
277    "return": {
278    }
279}
280{
281    "error": {
282        "class": "GenericError",
283        "desc": "Parameter 'throttle-group' is missing"
284    }
285}
286{
287    "return": {
288    }
289}
290{
291    "timestamp": {
292        "seconds":  TIMESTAMP,
293        "microseconds":  TIMESTAMP
294    },
295    "event": "SHUTDOWN",
296    "data": {
297        "guest": false
298    }
299}
300
301
302*** done
303