hmp: Fail gracefully if chardev is already in use
[qemu/ar7.git] / tests / qemu-iotests / 227.out
blob9c09ee3917b99123d23ec04ddd71f589c7d3976d
1 QA output created by 227
3 === blockstats with -drive if=virtio ===
5 Testing: -drive driver=null-co,read-zeroes=on,if=virtio
7     QMP_VERSION
10     "return": {
11     }
14     "return": [
15         {
16             "device": "virtio0",
17             "stats": {
18                 "unmap_operations": 0,
19                 "unmap_merged": 0,
20                 "flush_total_time_ns": 0,
21                 "wr_highest_offset": 0,
22                 "wr_total_time_ns": 0,
23                 "failed_wr_operations": 0,
24                 "failed_rd_operations": 0,
25                 "wr_merged": 0,
26                 "wr_bytes": 0,
27                 "timed_stats": [
28                 ],
29                 "failed_unmap_operations": 0,
30                 "failed_flush_operations": 0,
31                 "account_invalid": true,
32                 "rd_total_time_ns": 0,
33                 "invalid_unmap_operations": 0,
34                 "flush_operations": 0,
35                 "wr_operations": 0,
36                 "unmap_bytes": 0,
37                 "rd_merged": 0,
38                 "rd_bytes": 0,
39                 "unmap_total_time_ns": 0,
40                 "invalid_flush_operations": 0,
41                 "account_failed": true,
42                 "rd_operations": 0,
43                 "invalid_wr_operations": 0,
44                 "invalid_rd_operations": 0
45             },
46             "node-name": "NODE_NAME",
47             "qdev": "/machine/peripheral-anon/device[0]/virtio-backend"
48         }
49     ]
52     "return": {
53     }
56     "timestamp": {
57         "seconds":  TIMESTAMP,
58         "microseconds":  TIMESTAMP
59     },
60     "event": "SHUTDOWN",
61     "data": {
62         "guest": false,
63         "reason": "host-qmp-quit"
64     }
68 === blockstats with -drive if=none ===
70 Testing: -drive driver=null-co,if=none
72     QMP_VERSION
75     "return": {
76     }
79     "return": [
80         {
81             "device": "none0",
82             "stats": {
83                 "unmap_operations": 0,
84                 "unmap_merged": 0,
85                 "flush_total_time_ns": 0,
86                 "wr_highest_offset": 0,
87                 "wr_total_time_ns": 0,
88                 "failed_wr_operations": 0,
89                 "failed_rd_operations": 0,
90                 "wr_merged": 0,
91                 "wr_bytes": 0,
92                 "timed_stats": [
93                 ],
94                 "failed_unmap_operations": 0,
95                 "failed_flush_operations": 0,
96                 "account_invalid": true,
97                 "rd_total_time_ns": 0,
98                 "invalid_unmap_operations": 0,
99                 "flush_operations": 0,
100                 "wr_operations": 0,
101                 "unmap_bytes": 0,
102                 "rd_merged": 0,
103                 "rd_bytes": 0,
104                 "unmap_total_time_ns": 0,
105                 "invalid_flush_operations": 0,
106                 "account_failed": true,
107                 "rd_operations": 0,
108                 "invalid_wr_operations": 0,
109                 "invalid_rd_operations": 0
110             },
111             "node-name": "NODE_NAME"
112         }
113     ]
116     "return": {
117     }
120     "timestamp": {
121         "seconds":  TIMESTAMP,
122         "microseconds":  TIMESTAMP
123     },
124     "event": "SHUTDOWN",
125     "data": {
126         "guest": false,
127         "reason": "host-qmp-quit"
128     }
132 === blockstats with -blockdev ===
134 Testing: -blockdev driver=null-co,node-name=null
136     QMP_VERSION
139     "return": {
140     }
143     "return": [
144     ]
147     "return": {
148     }
151     "timestamp": {
152         "seconds":  TIMESTAMP,
153         "microseconds":  TIMESTAMP
154     },
155     "event": "SHUTDOWN",
156     "data": {
157         "guest": false,
158         "reason": "host-qmp-quit"
159     }
163 === blockstats with -blockdev and -device ===
165 Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk,drive=null,id=virtio0
167     QMP_VERSION
170     "return": {
171     }
174     "return": [
175         {
176             "device": "",
177             "stats": {
178                 "unmap_operations": 0,
179                 "unmap_merged": 0,
180                 "flush_total_time_ns": 0,
181                 "wr_highest_offset": 0,
182                 "wr_total_time_ns": 0,
183                 "failed_wr_operations": 0,
184                 "failed_rd_operations": 0,
185                 "wr_merged": 0,
186                 "wr_bytes": 0,
187                 "timed_stats": [
188                 ],
189                 "failed_unmap_operations": 0,
190                 "failed_flush_operations": 0,
191                 "account_invalid": false,
192                 "rd_total_time_ns": 0,
193                 "invalid_unmap_operations": 0,
194                 "flush_operations": 0,
195                 "wr_operations": 0,
196                 "unmap_bytes": 0,
197                 "rd_merged": 0,
198                 "rd_bytes": 0,
199                 "unmap_total_time_ns": 0,
200                 "invalid_flush_operations": 0,
201                 "account_failed": false,
202                 "rd_operations": 0,
203                 "invalid_wr_operations": 0,
204                 "invalid_rd_operations": 0
205             },
206             "node-name": "null",
207             "qdev": "/machine/peripheral/virtio0/virtio-backend"
208         }
209     ]
212     "return": {
213     }
216     "timestamp": {
217         "seconds":  TIMESTAMP,
218         "microseconds":  TIMESTAMP
219     },
220     "event": "SHUTDOWN",
221     "data": {
222         "guest": false,
223         "reason": "host-qmp-quit"
224     }
227 *** done