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