Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2019-07-15' into staging
[qemu/ar7.git] / tests / qemu-iotests / 184.out
blob3deb3cfb941a52b55866e041462ccf5878c1aa68
1 QA output created by 184
3 == checking interface ==
4 Testing:
6     QMP_VERSION
9     "return": {
10     }
13     "return": {
14     }
17     "return": {
18     }
21     "return": {
22     }
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     ]
83     "return": [
84     ]
87     "return": {
88     }
91     "timestamp": {
92         "seconds":  TIMESTAMP,
93         "microseconds":  TIMESTAMP
94     },
95     "event": "SHUTDOWN",
96     "data": {
97         "guest": false,
98         "reason": "host-qmp-quit"
99     }
103 == property changes in ThrottleGroup ==
104 Testing:
106     QMP_VERSION
109     "return": {
110     }
113     "return": {
114     }
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     }
140     "return": {
141     }
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     }
167     "return": {
168     }
171     "timestamp": {
172         "seconds":  TIMESTAMP,
173         "microseconds":  TIMESTAMP
174     },
175     "event": "SHUTDOWN",
176     "data": {
177         "guest": false,
178         "reason": "host-qmp-quit"
179     }
183 == object creation/set errors  ==
184 Testing:
186     QMP_VERSION
189     "return": {
190     }
193     "return": {
194     }
197     "error": {
198         "class": "GenericError",
199         "desc": "Property cannot be set after initialization"
200     }
203     "error": {
204         "class": "GenericError",
205         "desc": "bps/iops/max total values and read/write values cannot be used at the same time"
206     }
209     "return": {
210     }
213     "timestamp": {
214         "seconds":  TIMESTAMP,
215         "microseconds":  TIMESTAMP
216     },
217     "event": "SHUTDOWN",
218     "data": {
219         "guest": false,
220         "reason": "host-qmp-quit"
221     }
225 == don't specify group ==
226 Testing:
228     QMP_VERSION
231     "return": {
232     }
235     "return": {
236     }
239     "error": {
240         "class": "GenericError",
241         "desc": "Parameter 'throttle-group' is missing"
242     }
245     "return": {
246     }
249     "timestamp": {
250         "seconds":  TIMESTAMP,
251         "microseconds":  TIMESTAMP
252     },
253     "event": "SHUTDOWN",
254     "data": {
255         "guest": false,
256         "reason": "host-qmp-quit"
257     }
261 *** done