Merge tag 'qemu-macppc-20230206' of https://github.com/mcayland/qemu into staging
[qemu.git] / tests / qemu-iotests / 184.out
blob77e5489d6533e4f5d6eba66b2ab8d6b6b667a78e
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                 "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     ]
89     "return": [
90     ]
93     "return": {
94     }
97     "timestamp": {
98         "seconds":  TIMESTAMP,
99         "microseconds":  TIMESTAMP
100     },
101     "event": "SHUTDOWN",
102     "data": {
103         "guest": false,
104         "reason": "host-qmp-quit"
105     }
109 == property changes in ThrottleGroup ==
110 Testing:
112     QMP_VERSION
115     "return": {
116     }
119     "return": {
120     }
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     }
146     "return": {
147     }
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     }
173     "return": {
174     }
177     "timestamp": {
178         "seconds":  TIMESTAMP,
179         "microseconds":  TIMESTAMP
180     },
181     "event": "SHUTDOWN",
182     "data": {
183         "guest": false,
184         "reason": "host-qmp-quit"
185     }
189 == object creation/set errors  ==
190 Testing:
192     QMP_VERSION
195     "return": {
196     }
199     "return": {
200     }
203     "error": {
204         "class": "GenericError",
205         "desc": "Property cannot be set after initialization"
206     }
209     "error": {
210         "class": "GenericError",
211         "desc": "bps/iops/max total values and read/write values cannot be used at the same time"
212     }
215     "return": {
216     }
219     "timestamp": {
220         "seconds":  TIMESTAMP,
221         "microseconds":  TIMESTAMP
222     },
223     "event": "SHUTDOWN",
224     "data": {
225         "guest": false,
226         "reason": "host-qmp-quit"
227     }
231 == don't specify group ==
232 Testing:
234     QMP_VERSION
237     "return": {
238     }
241     "return": {
242     }
245     "error": {
246         "class": "GenericError",
247         "desc": "Parameter 'throttle-group' is missing"
248     }
251     "return": {
252     }
255     "timestamp": {
256         "seconds":  TIMESTAMP,
257         "microseconds":  TIMESTAMP
258     },
259     "event": "SHUTDOWN",
260     "data": {
261         "guest": false,
262         "reason": "host-qmp-quit"
263     }
267 *** done