OSDN Git Service

iotests: Test active commit with iothread and background I/O
[qmiga/qemu.git] / tests / qemu-iotests / 184.out
1 QA output created by 184
2
3 == checking interface ==
4 Testing:
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     "return": {
94     }
95 }
96 {
97     "timestamp": {
98         "seconds":  TIMESTAMP,
99         "microseconds":  TIMESTAMP
100     },
101     "event": "SHUTDOWN",
102     "data": {
103         "guest": false,
104         "reason": "host-qmp-quit"
105     }
106 }
107
108
109 == property changes in ThrottleGroup ==
110 Testing:
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     "return": {
174     }
175 }
176 {
177     "timestamp": {
178         "seconds":  TIMESTAMP,
179         "microseconds":  TIMESTAMP
180     },
181     "event": "SHUTDOWN",
182     "data": {
183         "guest": false,
184         "reason": "host-qmp-quit"
185     }
186 }
187
188
189 == object creation/set errors  ==
190 Testing:
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     "return": {
216     }
217 }
218 {
219     "timestamp": {
220         "seconds":  TIMESTAMP,
221         "microseconds":  TIMESTAMP
222     },
223     "event": "SHUTDOWN",
224     "data": {
225         "guest": false,
226         "reason": "host-qmp-quit"
227     }
228 }
229
230
231 == don't specify group ==
232 Testing:
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     "return": {
252     }
253 }
254 {
255     "timestamp": {
256         "seconds":  TIMESTAMP,
257         "microseconds":  TIMESTAMP
258     },
259     "event": "SHUTDOWN",
260     "data": {
261         "guest": false,
262         "reason": "host-qmp-quit"
263     }
264 }
265
266
267 *** done