]>
Commit | Line | Data |
---|---|---|
1239ac24 KW |
1 | QA output created by 227 |
2 | ||
3 | === blockstats with -drive if=virtio === | |
4 | ||
a6862418 | 5 | Testing: -drive driver=null-co,read-zeroes=on,if=virtio |
1239ac24 KW |
6 | { |
7 | QMP_VERSION | |
8 | } | |
9 | { | |
10 | "return": { | |
11 | } | |
12 | } | |
13 | { | |
14 | "return": [ | |
15 | { | |
16 | "device": "virtio0", | |
17 | "stats": { | |
159f85dd AN |
18 | "unmap_operations": 0, |
19 | "unmap_merged": 0, | |
52eb76f4 | 20 | "failed_zone_append_operations": 0, |
1239ac24 KW |
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 | ], | |
159f85dd | 30 | "failed_unmap_operations": 0, |
52eb76f4 | 31 | "zone_append_merged": 0, |
1239ac24 KW |
32 | "failed_flush_operations": 0, |
33 | "account_invalid": true, | |
34 | "rd_total_time_ns": 0, | |
159f85dd | 35 | "invalid_unmap_operations": 0, |
1239ac24 KW |
36 | "flush_operations": 0, |
37 | "wr_operations": 0, | |
159f85dd | 38 | "unmap_bytes": 0, |
1239ac24 KW |
39 | "rd_merged": 0, |
40 | "rd_bytes": 0, | |
159f85dd | 41 | "unmap_total_time_ns": 0, |
1239ac24 KW |
42 | "invalid_flush_operations": 0, |
43 | "account_failed": true, | |
52eb76f4 SL |
44 | "zone_append_total_time_ns": 0, |
45 | "zone_append_operations": 0, | |
1239ac24 | 46 | "rd_operations": 0, |
52eb76f4 SL |
47 | "zone_append_bytes": 0, |
48 | "invalid_zone_append_operations": 0, | |
1239ac24 KW |
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": { | |
ecd7a0d5 | 68 | "guest": false, |
92548938 | 69 | "reason": "host-qmp-quit" |
1239ac24 KW |
70 | } |
71 | } | |
72 | ||
73 | ||
74 | === blockstats with -drive if=none === | |
75 | ||
76 | Testing: -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": { | |
159f85dd AN |
89 | "unmap_operations": 0, |
90 | "unmap_merged": 0, | |
52eb76f4 | 91 | "failed_zone_append_operations": 0, |
1239ac24 KW |
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 | ], | |
159f85dd | 101 | "failed_unmap_operations": 0, |
52eb76f4 | 102 | "zone_append_merged": 0, |
1239ac24 KW |
103 | "failed_flush_operations": 0, |
104 | "account_invalid": true, | |
105 | "rd_total_time_ns": 0, | |
159f85dd | 106 | "invalid_unmap_operations": 0, |
1239ac24 KW |
107 | "flush_operations": 0, |
108 | "wr_operations": 0, | |
159f85dd | 109 | "unmap_bytes": 0, |
1239ac24 KW |
110 | "rd_merged": 0, |
111 | "rd_bytes": 0, | |
159f85dd | 112 | "unmap_total_time_ns": 0, |
1239ac24 KW |
113 | "invalid_flush_operations": 0, |
114 | "account_failed": true, | |
52eb76f4 SL |
115 | "zone_append_total_time_ns": 0, |
116 | "zone_append_operations": 0, | |
1239ac24 | 117 | "rd_operations": 0, |
52eb76f4 SL |
118 | "zone_append_bytes": 0, |
119 | "invalid_zone_append_operations": 0, | |
1239ac24 KW |
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": { | |
ecd7a0d5 | 138 | "guest": false, |
92548938 | 139 | "reason": "host-qmp-quit" |
1239ac24 KW |
140 | } |
141 | } | |
142 | ||
143 | ||
144 | === blockstats with -blockdev === | |
145 | ||
146 | Testing: -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": { | |
ecd7a0d5 | 169 | "guest": false, |
92548938 | 170 | "reason": "host-qmp-quit" |
1239ac24 KW |
171 | } |
172 | } | |
173 | ||
174 | ||
175 | === blockstats with -blockdev and -device === | |
176 | ||
a6862418 | 177 | Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk,drive=null,id=virtio0 |
1239ac24 KW |
178 | { |
179 | QMP_VERSION | |
180 | } | |
181 | { | |
182 | "return": { | |
183 | } | |
184 | } | |
185 | { | |
186 | "return": [ | |
187 | { | |
188 | "device": "", | |
189 | "stats": { | |
159f85dd AN |
190 | "unmap_operations": 0, |
191 | "unmap_merged": 0, | |
52eb76f4 | 192 | "failed_zone_append_operations": 0, |
1239ac24 KW |
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 | ], | |
159f85dd | 202 | "failed_unmap_operations": 0, |
52eb76f4 | 203 | "zone_append_merged": 0, |
1239ac24 | 204 | "failed_flush_operations": 0, |
62a6c300 | 205 | "account_invalid": true, |
1239ac24 | 206 | "rd_total_time_ns": 0, |
159f85dd | 207 | "invalid_unmap_operations": 0, |
1239ac24 KW |
208 | "flush_operations": 0, |
209 | "wr_operations": 0, | |
159f85dd | 210 | "unmap_bytes": 0, |
1239ac24 KW |
211 | "rd_merged": 0, |
212 | "rd_bytes": 0, | |
159f85dd | 213 | "unmap_total_time_ns": 0, |
1239ac24 | 214 | "invalid_flush_operations": 0, |
62a6c300 | 215 | "account_failed": true, |
52eb76f4 SL |
216 | "zone_append_total_time_ns": 0, |
217 | "zone_append_operations": 0, | |
1239ac24 | 218 | "rd_operations": 0, |
52eb76f4 SL |
219 | "zone_append_bytes": 0, |
220 | "invalid_zone_append_operations": 0, | |
1239ac24 KW |
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": { | |
ecd7a0d5 | 240 | "guest": false, |
92548938 | 241 | "reason": "host-qmp-quit" |
1239ac24 KW |
242 | } |
243 | } | |
244 | ||
245 | *** done |