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