block/nvme: Introduce Completion Queue definitions
[qemu/ar7.git] / tests / qemu-iotests / 184.out
blob87c73070e36d64bd489191a974c7862d88aa0f8e
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             "encryption_key_missing": false
59         },
60         {
61             "iops_rd": 0,
62             "detect_zeroes": "off",
63             "image": {
64                 "virtual-size": 1073741824,
65                 "filename": "null-co://",
66                 "format": "null-co",
67                 "actual-size": 0
68             },
69             "iops_wr": 0,
70             "ro": false,
71             "node-name": "disk0",
72             "backing_file_depth": 0,
73             "drv": "null-co",
74             "iops": 0,
75             "bps_wr": 0,
76             "write_threshold": 0,
77             "encrypted": false,
78             "bps": 0,
79             "bps_rd": 0,
80             "cache": {
81                 "no-flush": false,
82                 "direct": false,
83                 "writeback": true
84             },
85             "file": "null-co://",
86             "encryption_key_missing": false
87         }
88     ]
91     "return": [
92     ]
95     "return": {
96     }
99     "timestamp": {
100         "seconds":  TIMESTAMP,
101         "microseconds":  TIMESTAMP
102     },
103     "event": "SHUTDOWN",
104     "data": {
105         "guest": false,
106         "reason": "host-qmp-quit"
107     }
111 == property changes in ThrottleGroup ==
112 Testing:
114     QMP_VERSION
117     "return": {
118     }
121     "return": {
122     }
125     "return": {
126         "bps-read-max-length": 1,
127         "iops-read-max-length": 1,
128         "bps-read-max": 0,
129         "bps-total": 0,
130         "iops-total-max-length": 1,
131         "iops-total": 1000,
132         "iops-write-max": 0,
133         "bps-write": 0,
134         "bps-total-max": 0,
135         "bps-write-max": 0,
136         "iops-size": 0,
137         "iops-read": 0,
138         "iops-write-max-length": 1,
139         "iops-write": 0,
140         "bps-total-max-length": 1,
141         "iops-read-max": 0,
142         "bps-read": 0,
143         "bps-write-max-length": 1,
144         "iops-total-max": 0
145     }
148     "return": {
149     }
152     "return": {
153         "bps-read-max-length": 1,
154         "iops-read-max-length": 1,
155         "bps-read-max": 0,
156         "bps-total": 0,
157         "iops-total-max-length": 1,
158         "iops-total": 0,
159         "iops-write-max": 0,
160         "bps-write": 0,
161         "bps-total-max": 0,
162         "bps-write-max": 0,
163         "iops-size": 0,
164         "iops-read": 0,
165         "iops-write-max-length": 1,
166         "iops-write": 0,
167         "bps-total-max-length": 1,
168         "iops-read-max": 0,
169         "bps-read": 0,
170         "bps-write-max-length": 1,
171         "iops-total-max": 0
172     }
175     "return": {
176     }
179     "timestamp": {
180         "seconds":  TIMESTAMP,
181         "microseconds":  TIMESTAMP
182     },
183     "event": "SHUTDOWN",
184     "data": {
185         "guest": false,
186         "reason": "host-qmp-quit"
187     }
191 == object creation/set errors  ==
192 Testing:
194     QMP_VERSION
197     "return": {
198     }
201     "return": {
202     }
205     "error": {
206         "class": "GenericError",
207         "desc": "Property cannot be set after initialization"
208     }
211     "error": {
212         "class": "GenericError",
213         "desc": "bps/iops/max total values and read/write values cannot be used at the same time"
214     }
217     "return": {
218     }
221     "timestamp": {
222         "seconds":  TIMESTAMP,
223         "microseconds":  TIMESTAMP
224     },
225     "event": "SHUTDOWN",
226     "data": {
227         "guest": false,
228         "reason": "host-qmp-quit"
229     }
233 == don't specify group ==
234 Testing:
236     QMP_VERSION
239     "return": {
240     }
243     "return": {
244     }
247     "error": {
248         "class": "GenericError",
249         "desc": "Parameter 'throttle-group' is missing"
250     }
253     "return": {
254     }
257     "timestamp": {
258         "seconds":  TIMESTAMP,
259         "microseconds":  TIMESTAMP
260     },
261     "event": "SHUTDOWN",
262     "data": {
263         "guest": false,
264         "reason": "host-qmp-quit"
265     }
269 *** done