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