Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 1 | QA output created by 227 |
| 2 | |
| 3 | === blockstats with -drive if=virtio === |
| 4 | |
Andrey Shinkevich | a686241 | 2019-07-15 19:07:59 +0300 | [diff] [blame] | 5 | Testing: -drive driver=null-co,read-zeroes=on,if=virtio |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 6 | { |
| 7 | QMP_VERSION |
| 8 | } |
| 9 | { |
| 10 | "return": { |
| 11 | } |
| 12 | } |
| 13 | { |
| 14 | "return": [ |
| 15 | { |
| 16 | "device": "virtio0", |
| 17 | "stats": { |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 18 | "unmap_operations": 0, |
| 19 | "unmap_merged": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 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 | ], |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 29 | "failed_unmap_operations": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 30 | "failed_flush_operations": 0, |
| 31 | "account_invalid": true, |
| 32 | "rd_total_time_ns": 0, |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 33 | "invalid_unmap_operations": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 34 | "flush_operations": 0, |
| 35 | "wr_operations": 0, |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 36 | "unmap_bytes": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 37 | "rd_merged": 0, |
| 38 | "rd_bytes": 0, |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 39 | "unmap_total_time_ns": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 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": { |
Dominik Csapak | ecd7a0d | 2018-12-05 12:01:30 +0100 | [diff] [blame] | 62 | "guest": false, |
Dominik Csapak | 9254893 | 2018-12-05 12:01:31 +0100 | [diff] [blame] | 63 | "reason": "host-qmp-quit" |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 64 | } |
| 65 | } |
| 66 | |
| 67 | |
| 68 | === blockstats with -drive if=none === |
| 69 | |
| 70 | Testing: -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": { |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 83 | "unmap_operations": 0, |
| 84 | "unmap_merged": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 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 | ], |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 94 | "failed_unmap_operations": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 95 | "failed_flush_operations": 0, |
| 96 | "account_invalid": true, |
| 97 | "rd_total_time_ns": 0, |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 98 | "invalid_unmap_operations": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 99 | "flush_operations": 0, |
| 100 | "wr_operations": 0, |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 101 | "unmap_bytes": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 102 | "rd_merged": 0, |
| 103 | "rd_bytes": 0, |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 104 | "unmap_total_time_ns": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 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": { |
Dominik Csapak | ecd7a0d | 2018-12-05 12:01:30 +0100 | [diff] [blame] | 126 | "guest": false, |
Dominik Csapak | 9254893 | 2018-12-05 12:01:31 +0100 | [diff] [blame] | 127 | "reason": "host-qmp-quit" |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 128 | } |
| 129 | } |
| 130 | |
| 131 | |
| 132 | === blockstats with -blockdev === |
| 133 | |
| 134 | Testing: -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": { |
Dominik Csapak | ecd7a0d | 2018-12-05 12:01:30 +0100 | [diff] [blame] | 157 | "guest": false, |
Dominik Csapak | 9254893 | 2018-12-05 12:01:31 +0100 | [diff] [blame] | 158 | "reason": "host-qmp-quit" |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 159 | } |
| 160 | } |
| 161 | |
| 162 | |
| 163 | === blockstats with -blockdev and -device === |
| 164 | |
Andrey Shinkevich | a686241 | 2019-07-15 19:07:59 +0300 | [diff] [blame] | 165 | Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk,drive=null,id=virtio0 |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 166 | { |
| 167 | QMP_VERSION |
| 168 | } |
| 169 | { |
| 170 | "return": { |
| 171 | } |
| 172 | } |
| 173 | { |
| 174 | "return": [ |
| 175 | { |
| 176 | "device": "", |
| 177 | "stats": { |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 178 | "unmap_operations": 0, |
| 179 | "unmap_merged": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 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 | ], |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 189 | "failed_unmap_operations": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 190 | "failed_flush_operations": 0, |
| 191 | "account_invalid": false, |
| 192 | "rd_total_time_ns": 0, |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 193 | "invalid_unmap_operations": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 194 | "flush_operations": 0, |
| 195 | "wr_operations": 0, |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 196 | "unmap_bytes": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 197 | "rd_merged": 0, |
| 198 | "rd_bytes": 0, |
Anton Nefedov | 159f85d | 2019-09-23 15:17:30 +0300 | [diff] [blame] | 199 | "unmap_total_time_ns": 0, |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 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": { |
Dominik Csapak | ecd7a0d | 2018-12-05 12:01:30 +0100 | [diff] [blame] | 222 | "guest": false, |
Dominik Csapak | 9254893 | 2018-12-05 12:01:31 +0100 | [diff] [blame] | 223 | "reason": "host-qmp-quit" |
Kevin Wolf | 1239ac2 | 2018-07-27 16:11:57 +0200 | [diff] [blame] | 224 | } |
| 225 | } |
| 226 | |
| 227 | *** done |