xref: /openbmc/qemu/tests/qemu-iotests/227.out (revision 4921d0a7)
1QA output created by 227
2
3=== blockstats with -drive if=virtio ===
4
5Testing: -drive driver=null-co,read-zeroes=on,if=virtio
6{
7    QMP_VERSION
8}
9{
10    "return": {
11    }
12}
13{
14    "return": [
15        {
16            "device": "virtio0",
17            "stats": {
18                "unmap_operations": 0,
19                "unmap_merged": 0,
20                "failed_zone_append_operations": 0,
21                "flush_total_time_ns": 0,
22                "wr_highest_offset": 0,
23                "wr_total_time_ns": 0,
24                "failed_wr_operations": 0,
25                "failed_rd_operations": 0,
26                "wr_merged": 0,
27                "wr_bytes": 0,
28                "timed_stats": [
29                ],
30                "failed_unmap_operations": 0,
31                "zone_append_merged": 0,
32                "failed_flush_operations": 0,
33                "account_invalid": true,
34                "rd_total_time_ns": 0,
35                "invalid_unmap_operations": 0,
36                "flush_operations": 0,
37                "wr_operations": 0,
38                "unmap_bytes": 0,
39                "rd_merged": 0,
40                "rd_bytes": 0,
41                "unmap_total_time_ns": 0,
42                "invalid_flush_operations": 0,
43                "account_failed": true,
44                "zone_append_total_time_ns": 0,
45                "zone_append_operations": 0,
46                "rd_operations": 0,
47                "zone_append_bytes": 0,
48                "invalid_zone_append_operations": 0,
49                "invalid_wr_operations": 0,
50                "invalid_rd_operations": 0
51            },
52            "node-name": "NODE_NAME",
53            "qdev": "/machine/peripheral-anon/device[0]/virtio-backend"
54        }
55    ]
56}
57{
58    "timestamp": {
59        "seconds":  TIMESTAMP,
60        "microseconds":  TIMESTAMP
61    },
62    "event": "SHUTDOWN",
63    "data": {
64        "guest": false,
65        "reason": "host-qmp-quit"
66    }
67}
68{
69    "return": {
70    }
71}
72
73
74=== blockstats with -drive if=none ===
75
76Testing: -drive driver=null-co,if=none
77{
78    QMP_VERSION
79}
80{
81    "return": {
82    }
83}
84{
85    "return": [
86        {
87            "device": "none0",
88            "stats": {
89                "unmap_operations": 0,
90                "unmap_merged": 0,
91                "failed_zone_append_operations": 0,
92                "flush_total_time_ns": 0,
93                "wr_highest_offset": 0,
94                "wr_total_time_ns": 0,
95                "failed_wr_operations": 0,
96                "failed_rd_operations": 0,
97                "wr_merged": 0,
98                "wr_bytes": 0,
99                "timed_stats": [
100                ],
101                "failed_unmap_operations": 0,
102                "zone_append_merged": 0,
103                "failed_flush_operations": 0,
104                "account_invalid": true,
105                "rd_total_time_ns": 0,
106                "invalid_unmap_operations": 0,
107                "flush_operations": 0,
108                "wr_operations": 0,
109                "unmap_bytes": 0,
110                "rd_merged": 0,
111                "rd_bytes": 0,
112                "unmap_total_time_ns": 0,
113                "invalid_flush_operations": 0,
114                "account_failed": true,
115                "zone_append_total_time_ns": 0,
116                "zone_append_operations": 0,
117                "rd_operations": 0,
118                "zone_append_bytes": 0,
119                "invalid_zone_append_operations": 0,
120                "invalid_wr_operations": 0,
121                "invalid_rd_operations": 0
122            },
123            "node-name": "NODE_NAME"
124        }
125    ]
126}
127{
128    "timestamp": {
129        "seconds":  TIMESTAMP,
130        "microseconds":  TIMESTAMP
131    },
132    "event": "SHUTDOWN",
133    "data": {
134        "guest": false,
135        "reason": "host-qmp-quit"
136    }
137}
138{
139    "return": {
140    }
141}
142
143
144=== blockstats with -blockdev ===
145
146Testing: -blockdev driver=null-co,node-name=null
147{
148    QMP_VERSION
149}
150{
151    "return": {
152    }
153}
154{
155    "return": [
156    ]
157}
158{
159    "timestamp": {
160        "seconds":  TIMESTAMP,
161        "microseconds":  TIMESTAMP
162    },
163    "event": "SHUTDOWN",
164    "data": {
165        "guest": false,
166        "reason": "host-qmp-quit"
167    }
168}
169{
170    "return": {
171    }
172}
173
174
175=== blockstats with -blockdev and -device ===
176
177Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk,drive=null,id=virtio0
178{
179    QMP_VERSION
180}
181{
182    "return": {
183    }
184}
185{
186    "return": [
187        {
188            "device": "",
189            "stats": {
190                "unmap_operations": 0,
191                "unmap_merged": 0,
192                "failed_zone_append_operations": 0,
193                "flush_total_time_ns": 0,
194                "wr_highest_offset": 0,
195                "wr_total_time_ns": 0,
196                "failed_wr_operations": 0,
197                "failed_rd_operations": 0,
198                "wr_merged": 0,
199                "wr_bytes": 0,
200                "timed_stats": [
201                ],
202                "failed_unmap_operations": 0,
203                "zone_append_merged": 0,
204                "failed_flush_operations": 0,
205                "account_invalid": true,
206                "rd_total_time_ns": 0,
207                "invalid_unmap_operations": 0,
208                "flush_operations": 0,
209                "wr_operations": 0,
210                "unmap_bytes": 0,
211                "rd_merged": 0,
212                "rd_bytes": 0,
213                "unmap_total_time_ns": 0,
214                "invalid_flush_operations": 0,
215                "account_failed": true,
216                "zone_append_total_time_ns": 0,
217                "zone_append_operations": 0,
218                "rd_operations": 0,
219                "zone_append_bytes": 0,
220                "invalid_zone_append_operations": 0,
221                "invalid_wr_operations": 0,
222                "invalid_rd_operations": 0
223            },
224            "node-name": "null",
225            "qdev": "/machine/peripheral/virtio0/virtio-backend"
226        }
227    ]
228}
229{
230    "timestamp": {
231        "seconds":  TIMESTAMP,
232        "microseconds":  TIMESTAMP
233    },
234    "event": "SHUTDOWN",
235    "data": {
236        "guest": false,
237        "reason": "host-qmp-quit"
238    }
239}
240{
241    "return": {
242    }
243}
244
245*** done
246