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