xref: /openbmc/qemu/tests/qemu-iotests/227.out (revision a6771f2f)
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    "return": {
59    }
60}
61{
62    "timestamp": {
63        "seconds":  TIMESTAMP,
64        "microseconds":  TIMESTAMP
65    },
66    "event": "SHUTDOWN",
67    "data": {
68        "guest": false,
69        "reason": "host-qmp-quit"
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    "return": {
129    }
130}
131{
132    "timestamp": {
133        "seconds":  TIMESTAMP,
134        "microseconds":  TIMESTAMP
135    },
136    "event": "SHUTDOWN",
137    "data": {
138        "guest": false,
139        "reason": "host-qmp-quit"
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    "return": {
160    }
161}
162{
163    "timestamp": {
164        "seconds":  TIMESTAMP,
165        "microseconds":  TIMESTAMP
166    },
167    "event": "SHUTDOWN",
168    "data": {
169        "guest": false,
170        "reason": "host-qmp-quit"
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    "return": {
231    }
232}
233{
234    "timestamp": {
235        "seconds":  TIMESTAMP,
236        "microseconds":  TIMESTAMP
237    },
238    "event": "SHUTDOWN",
239    "data": {
240        "guest": false,
241        "reason": "host-qmp-quit"
242    }
243}
244
245*** done
246