xref: /openbmc/qemu/tests/qemu-iotests/227.out (revision f1733749)
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                "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    ]
50}
51{
52    "return": {
53    }
54}
55{
56    "timestamp": {
57        "seconds":  TIMESTAMP,
58        "microseconds":  TIMESTAMP
59    },
60    "event": "SHUTDOWN",
61    "data": {
62        "guest": false,
63        "reason": "host-qmp-quit"
64    }
65}
66
67
68=== blockstats with -drive if=none ===
69
70Testing: -drive driver=null-co,if=none
71{
72    QMP_VERSION
73}
74{
75    "return": {
76    }
77}
78{
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    ]
114}
115{
116    "return": {
117    }
118}
119{
120    "timestamp": {
121        "seconds":  TIMESTAMP,
122        "microseconds":  TIMESTAMP
123    },
124    "event": "SHUTDOWN",
125    "data": {
126        "guest": false,
127        "reason": "host-qmp-quit"
128    }
129}
130
131
132=== blockstats with -blockdev ===
133
134Testing: -blockdev driver=null-co,node-name=null
135{
136    QMP_VERSION
137}
138{
139    "return": {
140    }
141}
142{
143    "return": [
144    ]
145}
146{
147    "return": {
148    }
149}
150{
151    "timestamp": {
152        "seconds":  TIMESTAMP,
153        "microseconds":  TIMESTAMP
154    },
155    "event": "SHUTDOWN",
156    "data": {
157        "guest": false,
158        "reason": "host-qmp-quit"
159    }
160}
161
162
163=== blockstats with -blockdev and -device ===
164
165Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk,drive=null,id=virtio0
166{
167    QMP_VERSION
168}
169{
170    "return": {
171    }
172}
173{
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    ]
210}
211{
212    "return": {
213    }
214}
215{
216    "timestamp": {
217        "seconds":  TIMESTAMP,
218        "microseconds":  TIMESTAMP
219    },
220    "event": "SHUTDOWN",
221    "data": {
222        "guest": false,
223        "reason": "host-qmp-quit"
224    }
225}
226
227*** done
228