Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 1 | QA output created by 191 |
| 2 | |
| 3 | === Preparing and starting VM === |
| 4 | |
| 5 | Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 |
Kevin Wolf | 760c4d4 | 2017-10-17 17:08:51 +0200 | [diff] [blame] | 6 | Formatting 'TEST_DIR/t.IMGFMT.mid', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT |
Eric Blake | b66ff2c | 2020-07-06 15:39:52 -0500 | [diff] [blame] | 7 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing_fmt=IMGFMT |
| 8 | Formatting 'TEST_DIR/t.IMGFMT.ovl2', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing_fmt=IMGFMT |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 9 | wrote 65536/65536 bytes at offset 1048576 |
| 10 | 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 11 | { 'execute': 'qmp_capabilities' } |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 12 | { |
| 13 | "return": { |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | === Perform commit job === |
| 18 | |
Max Reitz | 0e72078 | 2020-12-17 16:38:03 +0100 | [diff] [blame] | 19 | { 'execute': 'block-commit', |
| 20 | 'arguments': { 'job-id': 'commit0', |
| 21 | 'device': 'top', |
| 22 | 'base':'TEST_DIR/t.IMGFMT.base', |
| 23 | 'top': 'TEST_DIR/t.IMGFMT.mid' } } |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 24 | { |
Kevin Wolf | 1dac83f | 2018-04-30 19:09:46 +0200 | [diff] [blame] | 25 | "timestamp": { |
| 26 | "seconds": TIMESTAMP, |
| 27 | "microseconds": TIMESTAMP |
| 28 | }, |
| 29 | "event": "JOB_STATUS_CHANGE", |
| 30 | "data": { |
| 31 | "status": "created", |
| 32 | "id": "commit0" |
| 33 | } |
| 34 | } |
| 35 | { |
| 36 | "timestamp": { |
| 37 | "seconds": TIMESTAMP, |
| 38 | "microseconds": TIMESTAMP |
| 39 | }, |
| 40 | "event": "JOB_STATUS_CHANGE", |
| 41 | "data": { |
| 42 | "status": "running", |
| 43 | "id": "commit0" |
| 44 | } |
| 45 | } |
| 46 | { |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 47 | "return": { |
| 48 | } |
| 49 | } |
| 50 | { |
| 51 | "timestamp": { |
| 52 | "seconds": TIMESTAMP, |
| 53 | "microseconds": TIMESTAMP |
| 54 | }, |
Kevin Wolf | 1dac83f | 2018-04-30 19:09:46 +0200 | [diff] [blame] | 55 | "event": "JOB_STATUS_CHANGE", |
| 56 | "data": { |
| 57 | "status": "waiting", |
| 58 | "id": "commit0" |
| 59 | } |
| 60 | } |
| 61 | { |
| 62 | "timestamp": { |
| 63 | "seconds": TIMESTAMP, |
| 64 | "microseconds": TIMESTAMP |
| 65 | }, |
| 66 | "event": "JOB_STATUS_CHANGE", |
| 67 | "data": { |
| 68 | "status": "pending", |
| 69 | "id": "commit0" |
| 70 | } |
| 71 | } |
| 72 | { |
| 73 | "timestamp": { |
| 74 | "seconds": TIMESTAMP, |
| 75 | "microseconds": TIMESTAMP |
| 76 | }, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 77 | "event": "BLOCK_JOB_COMPLETED", |
| 78 | "data": { |
| 79 | "device": "commit0", |
| 80 | "len": 67108864, |
| 81 | "offset": 67108864, |
| 82 | "speed": 0, |
| 83 | "type": "commit" |
| 84 | } |
| 85 | } |
Kevin Wolf | 1dac83f | 2018-04-30 19:09:46 +0200 | [diff] [blame] | 86 | { |
| 87 | "timestamp": { |
| 88 | "seconds": TIMESTAMP, |
| 89 | "microseconds": TIMESTAMP |
| 90 | }, |
| 91 | "event": "JOB_STATUS_CHANGE", |
| 92 | "data": { |
| 93 | "status": "concluded", |
| 94 | "id": "commit0" |
| 95 | } |
| 96 | } |
| 97 | { |
| 98 | "timestamp": { |
| 99 | "seconds": TIMESTAMP, |
| 100 | "microseconds": TIMESTAMP |
| 101 | }, |
| 102 | "event": "JOB_STATUS_CHANGE", |
| 103 | "data": { |
| 104 | "status": "null", |
| 105 | "id": "commit0" |
| 106 | } |
| 107 | } |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 108 | |
| 109 | === Check that both top and top2 point to base now === |
| 110 | |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 111 | { 'execute': 'query-named-block-nodes' } |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 112 | { |
| 113 | "return": [ |
| 114 | { |
| 115 | "iops_rd": 0, |
| 116 | "detect_zeroes": "off", |
| 117 | "image": { |
| 118 | "backing-image": { |
| 119 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 120 | "filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 121 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 122 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 123 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 124 | "dirty-flag": false |
| 125 | }, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 126 | "backing-filename-format": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 127 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 128 | "filename": "TEST_DIR/t.IMGFMT.ovl2", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 129 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 130 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 131 | "actual-size": SIZE, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 132 | "full-backing-filename": "TEST_DIR/t.IMGFMT.base", |
| 133 | "backing-filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 134 | "dirty-flag": false |
| 135 | }, |
| 136 | "iops_wr": 0, |
| 137 | "ro": false, |
| 138 | "node-name": "top2", |
| 139 | "backing_file_depth": 1, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 140 | "drv": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 141 | "iops": 0, |
| 142 | "bps_wr": 0, |
| 143 | "write_threshold": 0, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 144 | "backing_file": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 145 | "encrypted": false, |
| 146 | "bps": 0, |
| 147 | "bps_rd": 0, |
| 148 | "cache": { |
| 149 | "no-flush": false, |
| 150 | "direct": false, |
| 151 | "writeback": true |
| 152 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 153 | "file": "TEST_DIR/t.IMGFMT.ovl2" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 154 | }, |
| 155 | { |
| 156 | "iops_rd": 0, |
| 157 | "detect_zeroes": "off", |
| 158 | "image": { |
| 159 | "virtual-size": 197120, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 160 | "filename": "TEST_DIR/t.IMGFMT.ovl2", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 161 | "format": "file", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 162 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 163 | "dirty-flag": false |
| 164 | }, |
| 165 | "iops_wr": 0, |
| 166 | "ro": false, |
| 167 | "node-name": "NODE_NAME", |
| 168 | "backing_file_depth": 0, |
| 169 | "drv": "file", |
| 170 | "iops": 0, |
| 171 | "bps_wr": 0, |
| 172 | "write_threshold": 0, |
| 173 | "encrypted": false, |
| 174 | "bps": 0, |
| 175 | "bps_rd": 0, |
| 176 | "cache": { |
| 177 | "no-flush": false, |
| 178 | "direct": false, |
| 179 | "writeback": true |
| 180 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 181 | "file": "TEST_DIR/t.IMGFMT.ovl2" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 182 | }, |
| 183 | { |
| 184 | "iops_rd": 0, |
| 185 | "detect_zeroes": "off", |
| 186 | "image": { |
| 187 | "backing-image": { |
| 188 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 189 | "filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 190 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 191 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 192 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 193 | "dirty-flag": false |
| 194 | }, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 195 | "backing-filename-format": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 196 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 197 | "filename": "TEST_DIR/t.IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 198 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 199 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 200 | "actual-size": SIZE, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 201 | "full-backing-filename": "TEST_DIR/t.IMGFMT.base", |
| 202 | "backing-filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 203 | "dirty-flag": false |
| 204 | }, |
| 205 | "iops_wr": 0, |
| 206 | "ro": false, |
| 207 | "node-name": "top", |
| 208 | "backing_file_depth": 1, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 209 | "drv": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 210 | "iops": 0, |
| 211 | "bps_wr": 0, |
| 212 | "write_threshold": 0, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 213 | "backing_file": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 214 | "encrypted": false, |
| 215 | "bps": 0, |
| 216 | "bps_rd": 0, |
| 217 | "cache": { |
| 218 | "no-flush": false, |
| 219 | "direct": false, |
| 220 | "writeback": true |
| 221 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 222 | "file": "TEST_DIR/t.IMGFMT" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 223 | }, |
| 224 | { |
| 225 | "iops_rd": 0, |
| 226 | "detect_zeroes": "off", |
| 227 | "image": { |
| 228 | "virtual-size": 197120, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 229 | "filename": "TEST_DIR/t.IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 230 | "format": "file", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 231 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 232 | "dirty-flag": false |
| 233 | }, |
| 234 | "iops_wr": 0, |
| 235 | "ro": false, |
| 236 | "node-name": "NODE_NAME", |
| 237 | "backing_file_depth": 0, |
| 238 | "drv": "file", |
| 239 | "iops": 0, |
| 240 | "bps_wr": 0, |
| 241 | "write_threshold": 0, |
| 242 | "encrypted": false, |
| 243 | "bps": 0, |
| 244 | "bps_rd": 0, |
| 245 | "cache": { |
| 246 | "no-flush": false, |
| 247 | "direct": false, |
| 248 | "writeback": true |
| 249 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 250 | "file": "TEST_DIR/t.IMGFMT" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 251 | }, |
| 252 | { |
| 253 | "iops_rd": 0, |
| 254 | "detect_zeroes": "off", |
| 255 | "image": { |
| 256 | "backing-image": { |
| 257 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 258 | "filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 259 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 260 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 261 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 262 | "dirty-flag": false |
| 263 | }, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 264 | "backing-filename-format": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 265 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 266 | "filename": "TEST_DIR/t.IMGFMT.mid", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 267 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 268 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 269 | "actual-size": SIZE, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 270 | "full-backing-filename": "TEST_DIR/t.IMGFMT.base", |
| 271 | "backing-filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 272 | "dirty-flag": false |
| 273 | }, |
| 274 | "iops_wr": 0, |
| 275 | "ro": false, |
| 276 | "node-name": "mid", |
| 277 | "backing_file_depth": 1, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 278 | "drv": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 279 | "iops": 0, |
| 280 | "bps_wr": 0, |
| 281 | "write_threshold": 0, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 282 | "backing_file": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 283 | "encrypted": false, |
| 284 | "bps": 0, |
| 285 | "bps_rd": 0, |
| 286 | "cache": { |
| 287 | "no-flush": false, |
| 288 | "direct": false, |
| 289 | "writeback": true |
| 290 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 291 | "file": "TEST_DIR/t.IMGFMT.mid" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 292 | }, |
| 293 | { |
| 294 | "iops_rd": 0, |
| 295 | "detect_zeroes": "off", |
| 296 | "image": { |
| 297 | "virtual-size": 393216, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 298 | "filename": "TEST_DIR/t.IMGFMT.mid", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 299 | "format": "file", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 300 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 301 | "dirty-flag": false |
| 302 | }, |
| 303 | "iops_wr": 0, |
| 304 | "ro": false, |
| 305 | "node-name": "NODE_NAME", |
| 306 | "backing_file_depth": 0, |
| 307 | "drv": "file", |
| 308 | "iops": 0, |
| 309 | "bps_wr": 0, |
| 310 | "write_threshold": 0, |
| 311 | "encrypted": false, |
| 312 | "bps": 0, |
| 313 | "bps_rd": 0, |
| 314 | "cache": { |
| 315 | "no-flush": false, |
| 316 | "direct": false, |
| 317 | "writeback": true |
| 318 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 319 | "file": "TEST_DIR/t.IMGFMT.mid" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 320 | }, |
| 321 | { |
| 322 | "iops_rd": 0, |
| 323 | "detect_zeroes": "off", |
| 324 | "image": { |
| 325 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 326 | "filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 327 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 328 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 329 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 330 | "dirty-flag": false |
| 331 | }, |
| 332 | "iops_wr": 0, |
| 333 | "ro": false, |
| 334 | "node-name": "base", |
| 335 | "backing_file_depth": 0, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 336 | "drv": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 337 | "iops": 0, |
| 338 | "bps_wr": 0, |
| 339 | "write_threshold": 0, |
| 340 | "encrypted": false, |
| 341 | "bps": 0, |
| 342 | "bps_rd": 0, |
| 343 | "cache": { |
| 344 | "no-flush": false, |
| 345 | "direct": false, |
| 346 | "writeback": true |
| 347 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 348 | "file": "TEST_DIR/t.IMGFMT.base" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 349 | }, |
| 350 | { |
| 351 | "iops_rd": 0, |
| 352 | "detect_zeroes": "off", |
| 353 | "image": { |
| 354 | "virtual-size": 393216, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 355 | "filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 356 | "format": "file", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 357 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 358 | "dirty-flag": false |
| 359 | }, |
| 360 | "iops_wr": 0, |
| 361 | "ro": false, |
| 362 | "node-name": "NODE_NAME", |
| 363 | "backing_file_depth": 0, |
| 364 | "drv": "file", |
| 365 | "iops": 0, |
| 366 | "bps_wr": 0, |
| 367 | "write_threshold": 0, |
| 368 | "encrypted": false, |
| 369 | "bps": 0, |
| 370 | "bps_rd": 0, |
| 371 | "cache": { |
| 372 | "no-flush": false, |
| 373 | "direct": false, |
| 374 | "writeback": true |
| 375 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 376 | "file": "TEST_DIR/t.IMGFMT.base" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 377 | } |
| 378 | ] |
| 379 | } |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 380 | { 'execute': 'quit' } |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 381 | { |
| 382 | "return": { |
| 383 | } |
| 384 | } |
| 385 | { |
| 386 | "timestamp": { |
| 387 | "seconds": TIMESTAMP, |
| 388 | "microseconds": TIMESTAMP |
| 389 | }, |
| 390 | "event": "SHUTDOWN", |
| 391 | "data": { |
Dominik Csapak | ecd7a0d | 2018-12-05 12:01:30 +0100 | [diff] [blame] | 392 | "guest": false, |
Dominik Csapak | 9254893 | 2018-12-05 12:01:31 +0100 | [diff] [blame] | 393 | "reason": "host-qmp-quit" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 394 | } |
| 395 | } |
| 396 | image: TEST_DIR/t.IMGFMT |
| 397 | file format: IMGFMT |
Eric Blake | de38b50 | 2019-04-17 12:11:01 -0500 | [diff] [blame] | 398 | virtual size: 64 MiB (67108864 bytes) |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 399 | cluster_size: 65536 |
| 400 | backing file: TEST_DIR/t.IMGFMT.base |
| 401 | backing file format: IMGFMT |
| 402 | image: TEST_DIR/t.IMGFMT.ovl2 |
| 403 | file format: IMGFMT |
Eric Blake | de38b50 | 2019-04-17 12:11:01 -0500 | [diff] [blame] | 404 | virtual size: 64 MiB (67108864 bytes) |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 405 | cluster_size: 65536 |
| 406 | backing file: TEST_DIR/t.IMGFMT.base |
| 407 | backing file format: IMGFMT |
| 408 | |
| 409 | === Preparing and starting VM with -drive === |
| 410 | |
| 411 | Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 |
Eric Blake | b66ff2c | 2020-07-06 15:39:52 -0500 | [diff] [blame] | 412 | Formatting 'TEST_DIR/t.IMGFMT.mid', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT |
| 413 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing_fmt=IMGFMT |
| 414 | Formatting 'TEST_DIR/t.IMGFMT.ovl2', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing_fmt=IMGFMT |
| 415 | Formatting 'TEST_DIR/t.IMGFMT.ovl3', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.ovl2 backing_fmt=IMGFMT |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 416 | wrote 65536/65536 bytes at offset 1048576 |
| 417 | 64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 418 | { 'execute': 'qmp_capabilities' } |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 419 | { |
| 420 | "return": { |
| 421 | } |
| 422 | } |
| 423 | |
| 424 | === Perform commit job === |
| 425 | |
Max Reitz | 0e72078 | 2020-12-17 16:38:03 +0100 | [diff] [blame] | 426 | { 'execute': 'block-commit', |
| 427 | 'arguments': { 'job-id': 'commit0', |
| 428 | 'device': 'top', |
| 429 | 'base':'TEST_DIR/t.IMGFMT.base', |
| 430 | 'top': 'TEST_DIR/t.IMGFMT.mid' } } |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 431 | { |
Kevin Wolf | 1dac83f | 2018-04-30 19:09:46 +0200 | [diff] [blame] | 432 | "timestamp": { |
| 433 | "seconds": TIMESTAMP, |
| 434 | "microseconds": TIMESTAMP |
| 435 | }, |
| 436 | "event": "JOB_STATUS_CHANGE", |
| 437 | "data": { |
| 438 | "status": "created", |
| 439 | "id": "commit0" |
| 440 | } |
| 441 | } |
| 442 | { |
| 443 | "timestamp": { |
| 444 | "seconds": TIMESTAMP, |
| 445 | "microseconds": TIMESTAMP |
| 446 | }, |
| 447 | "event": "JOB_STATUS_CHANGE", |
| 448 | "data": { |
| 449 | "status": "running", |
| 450 | "id": "commit0" |
| 451 | } |
| 452 | } |
| 453 | { |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 454 | "return": { |
| 455 | } |
| 456 | } |
| 457 | { |
| 458 | "timestamp": { |
| 459 | "seconds": TIMESTAMP, |
| 460 | "microseconds": TIMESTAMP |
| 461 | }, |
Kevin Wolf | 1dac83f | 2018-04-30 19:09:46 +0200 | [diff] [blame] | 462 | "event": "JOB_STATUS_CHANGE", |
| 463 | "data": { |
| 464 | "status": "waiting", |
| 465 | "id": "commit0" |
| 466 | } |
| 467 | } |
| 468 | { |
| 469 | "timestamp": { |
| 470 | "seconds": TIMESTAMP, |
| 471 | "microseconds": TIMESTAMP |
| 472 | }, |
| 473 | "event": "JOB_STATUS_CHANGE", |
| 474 | "data": { |
| 475 | "status": "pending", |
| 476 | "id": "commit0" |
| 477 | } |
| 478 | } |
| 479 | { |
| 480 | "timestamp": { |
| 481 | "seconds": TIMESTAMP, |
| 482 | "microseconds": TIMESTAMP |
| 483 | }, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 484 | "event": "BLOCK_JOB_COMPLETED", |
| 485 | "data": { |
| 486 | "device": "commit0", |
| 487 | "len": 67108864, |
| 488 | "offset": 67108864, |
| 489 | "speed": 0, |
| 490 | "type": "commit" |
| 491 | } |
| 492 | } |
Kevin Wolf | 1dac83f | 2018-04-30 19:09:46 +0200 | [diff] [blame] | 493 | { |
| 494 | "timestamp": { |
| 495 | "seconds": TIMESTAMP, |
| 496 | "microseconds": TIMESTAMP |
| 497 | }, |
| 498 | "event": "JOB_STATUS_CHANGE", |
| 499 | "data": { |
| 500 | "status": "concluded", |
| 501 | "id": "commit0" |
| 502 | } |
| 503 | } |
| 504 | { |
| 505 | "timestamp": { |
| 506 | "seconds": TIMESTAMP, |
| 507 | "microseconds": TIMESTAMP |
| 508 | }, |
| 509 | "event": "JOB_STATUS_CHANGE", |
| 510 | "data": { |
| 511 | "status": "null", |
| 512 | "id": "commit0" |
| 513 | } |
| 514 | } |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 515 | |
| 516 | === Check that both top and top2 point to base now === |
| 517 | |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 518 | { 'execute': 'query-named-block-nodes' } |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 519 | { |
| 520 | "return": [ |
| 521 | { |
| 522 | "iops_rd": 0, |
| 523 | "detect_zeroes": "off", |
| 524 | "image": { |
| 525 | "backing-image": { |
| 526 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 527 | "filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 528 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 529 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 530 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 531 | "dirty-flag": false |
| 532 | }, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 533 | "backing-filename-format": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 534 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 535 | "filename": "TEST_DIR/t.IMGFMT.ovl2", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 536 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 537 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 538 | "actual-size": SIZE, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 539 | "full-backing-filename": "TEST_DIR/t.IMGFMT.base", |
| 540 | "backing-filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 541 | "dirty-flag": false |
| 542 | }, |
| 543 | "iops_wr": 0, |
| 544 | "ro": true, |
| 545 | "node-name": "NODE_NAME", |
| 546 | "backing_file_depth": 1, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 547 | "drv": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 548 | "iops": 0, |
| 549 | "bps_wr": 0, |
| 550 | "write_threshold": 0, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 551 | "backing_file": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 552 | "encrypted": false, |
| 553 | "bps": 0, |
| 554 | "bps_rd": 0, |
| 555 | "cache": { |
| 556 | "no-flush": false, |
| 557 | "direct": false, |
| 558 | "writeback": true |
| 559 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 560 | "file": "TEST_DIR/t.IMGFMT.ovl2" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 561 | }, |
| 562 | { |
| 563 | "iops_rd": 0, |
| 564 | "detect_zeroes": "off", |
| 565 | "image": { |
| 566 | "virtual-size": 197120, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 567 | "filename": "TEST_DIR/t.IMGFMT.ovl2", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 568 | "format": "file", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 569 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 570 | "dirty-flag": false |
| 571 | }, |
| 572 | "iops_wr": 0, |
| 573 | "ro": true, |
| 574 | "node-name": "NODE_NAME", |
| 575 | "backing_file_depth": 0, |
| 576 | "drv": "file", |
| 577 | "iops": 0, |
| 578 | "bps_wr": 0, |
| 579 | "write_threshold": 0, |
| 580 | "encrypted": false, |
| 581 | "bps": 0, |
| 582 | "bps_rd": 0, |
| 583 | "cache": { |
| 584 | "no-flush": false, |
| 585 | "direct": false, |
| 586 | "writeback": true |
| 587 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 588 | "file": "TEST_DIR/t.IMGFMT.ovl2" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 589 | }, |
| 590 | { |
| 591 | "iops_rd": 0, |
| 592 | "detect_zeroes": "off", |
| 593 | "image": { |
| 594 | "backing-image": { |
| 595 | "backing-image": { |
| 596 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 597 | "filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 598 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 599 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 600 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 601 | "dirty-flag": false |
| 602 | }, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 603 | "backing-filename-format": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 604 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 605 | "filename": "TEST_DIR/t.IMGFMT.ovl2", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 606 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 607 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 608 | "actual-size": SIZE, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 609 | "full-backing-filename": "TEST_DIR/t.IMGFMT.base", |
| 610 | "backing-filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 611 | "dirty-flag": false |
| 612 | }, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 613 | "backing-filename-format": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 614 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 615 | "filename": "TEST_DIR/t.IMGFMT.ovl3", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 616 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 617 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 618 | "actual-size": SIZE, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 619 | "full-backing-filename": "TEST_DIR/t.IMGFMT.ovl2", |
| 620 | "backing-filename": "TEST_DIR/t.IMGFMT.ovl2", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 621 | "dirty-flag": false |
| 622 | }, |
| 623 | "iops_wr": 0, |
| 624 | "ro": false, |
| 625 | "node-name": "top2", |
| 626 | "backing_file_depth": 2, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 627 | "drv": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 628 | "iops": 0, |
| 629 | "bps_wr": 0, |
| 630 | "write_threshold": 0, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 631 | "backing_file": "TEST_DIR/t.IMGFMT.ovl2", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 632 | "encrypted": false, |
| 633 | "bps": 0, |
| 634 | "bps_rd": 0, |
| 635 | "cache": { |
| 636 | "no-flush": false, |
| 637 | "direct": false, |
| 638 | "writeback": true |
| 639 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 640 | "file": "TEST_DIR/t.IMGFMT.ovl3" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 641 | }, |
| 642 | { |
| 643 | "iops_rd": 0, |
| 644 | "detect_zeroes": "off", |
| 645 | "image": { |
| 646 | "virtual-size": 197120, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 647 | "filename": "TEST_DIR/t.IMGFMT.ovl3", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 648 | "format": "file", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 649 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 650 | "dirty-flag": false |
| 651 | }, |
| 652 | "iops_wr": 0, |
| 653 | "ro": false, |
| 654 | "node-name": "NODE_NAME", |
| 655 | "backing_file_depth": 0, |
| 656 | "drv": "file", |
| 657 | "iops": 0, |
| 658 | "bps_wr": 0, |
| 659 | "write_threshold": 0, |
| 660 | "encrypted": false, |
| 661 | "bps": 0, |
| 662 | "bps_rd": 0, |
| 663 | "cache": { |
| 664 | "no-flush": false, |
| 665 | "direct": false, |
| 666 | "writeback": true |
| 667 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 668 | "file": "TEST_DIR/t.IMGFMT.ovl3" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 669 | }, |
| 670 | { |
| 671 | "iops_rd": 0, |
| 672 | "detect_zeroes": "off", |
| 673 | "image": { |
| 674 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 675 | "filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 676 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 677 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 678 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 679 | "dirty-flag": false |
| 680 | }, |
| 681 | "iops_wr": 0, |
| 682 | "ro": true, |
| 683 | "node-name": "NODE_NAME", |
| 684 | "backing_file_depth": 0, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 685 | "drv": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 686 | "iops": 0, |
| 687 | "bps_wr": 0, |
| 688 | "write_threshold": 0, |
| 689 | "encrypted": false, |
| 690 | "bps": 0, |
| 691 | "bps_rd": 0, |
| 692 | "cache": { |
| 693 | "no-flush": false, |
| 694 | "direct": false, |
| 695 | "writeback": true |
| 696 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 697 | "file": "TEST_DIR/t.IMGFMT.base" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 698 | }, |
| 699 | { |
| 700 | "iops_rd": 0, |
| 701 | "detect_zeroes": "off", |
| 702 | "image": { |
| 703 | "virtual-size": 393216, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 704 | "filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 705 | "format": "file", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 706 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 707 | "dirty-flag": false |
| 708 | }, |
| 709 | "iops_wr": 0, |
| 710 | "ro": true, |
| 711 | "node-name": "NODE_NAME", |
| 712 | "backing_file_depth": 0, |
| 713 | "drv": "file", |
| 714 | "iops": 0, |
| 715 | "bps_wr": 0, |
| 716 | "write_threshold": 0, |
| 717 | "encrypted": false, |
| 718 | "bps": 0, |
| 719 | "bps_rd": 0, |
| 720 | "cache": { |
| 721 | "no-flush": false, |
| 722 | "direct": false, |
| 723 | "writeback": true |
| 724 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 725 | "file": "TEST_DIR/t.IMGFMT.base" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 726 | }, |
| 727 | { |
| 728 | "iops_rd": 0, |
| 729 | "detect_zeroes": "off", |
| 730 | "image": { |
| 731 | "backing-image": { |
| 732 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 733 | "filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 734 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 735 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 736 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 737 | "dirty-flag": false |
| 738 | }, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 739 | "backing-filename-format": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 740 | "virtual-size": 67108864, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 741 | "filename": "TEST_DIR/t.IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 742 | "cluster-size": 65536, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 743 | "format": "IMGFMT", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 744 | "actual-size": SIZE, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 745 | "full-backing-filename": "TEST_DIR/t.IMGFMT.base", |
| 746 | "backing-filename": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 747 | "dirty-flag": false |
| 748 | }, |
| 749 | "iops_wr": 0, |
| 750 | "ro": false, |
| 751 | "node-name": "top", |
| 752 | "backing_file_depth": 1, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 753 | "drv": "IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 754 | "iops": 0, |
| 755 | "bps_wr": 0, |
| 756 | "write_threshold": 0, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 757 | "backing_file": "TEST_DIR/t.IMGFMT.base", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 758 | "encrypted": false, |
| 759 | "bps": 0, |
| 760 | "bps_rd": 0, |
| 761 | "cache": { |
| 762 | "no-flush": false, |
| 763 | "direct": false, |
| 764 | "writeback": true |
| 765 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 766 | "file": "TEST_DIR/t.IMGFMT" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 767 | }, |
| 768 | { |
| 769 | "iops_rd": 0, |
| 770 | "detect_zeroes": "off", |
| 771 | "image": { |
| 772 | "virtual-size": 197120, |
Max Reitz | 2483537 | 2017-11-23 03:08:31 +0100 | [diff] [blame] | 773 | "filename": "TEST_DIR/t.IMGFMT", |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 774 | "format": "file", |
Max Reitz | b66df84 | 2017-10-09 18:34:56 +0200 | [diff] [blame] | 775 | "actual-size": SIZE, |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 776 | "dirty-flag": false |
| 777 | }, |
| 778 | "iops_wr": 0, |
| 779 | "ro": false, |
| 780 | "node-name": "NODE_NAME", |
| 781 | "backing_file_depth": 0, |
| 782 | "drv": "file", |
| 783 | "iops": 0, |
| 784 | "bps_wr": 0, |
| 785 | "write_threshold": 0, |
| 786 | "encrypted": false, |
| 787 | "bps": 0, |
| 788 | "bps_rd": 0, |
| 789 | "cache": { |
| 790 | "no-flush": false, |
| 791 | "direct": false, |
| 792 | "writeback": true |
| 793 | }, |
Daniel P. Berrangé | ad1324e | 2021-02-19 18:53:17 +0000 | [diff] [blame] | 794 | "file": "TEST_DIR/t.IMGFMT" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 795 | } |
| 796 | ] |
| 797 | } |
Eric Blake | a98b1a1 | 2019-11-14 15:34:14 -0600 | [diff] [blame] | 798 | { 'execute': 'quit' } |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 799 | { |
| 800 | "return": { |
| 801 | } |
| 802 | } |
| 803 | { |
| 804 | "timestamp": { |
| 805 | "seconds": TIMESTAMP, |
| 806 | "microseconds": TIMESTAMP |
| 807 | }, |
| 808 | "event": "SHUTDOWN", |
| 809 | "data": { |
Dominik Csapak | ecd7a0d | 2018-12-05 12:01:30 +0100 | [diff] [blame] | 810 | "guest": false, |
Dominik Csapak | 9254893 | 2018-12-05 12:01:31 +0100 | [diff] [blame] | 811 | "reason": "host-qmp-quit" |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 812 | } |
| 813 | } |
| 814 | image: TEST_DIR/t.IMGFMT |
| 815 | file format: IMGFMT |
Eric Blake | de38b50 | 2019-04-17 12:11:01 -0500 | [diff] [blame] | 816 | virtual size: 64 MiB (67108864 bytes) |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 817 | cluster_size: 65536 |
| 818 | backing file: TEST_DIR/t.IMGFMT.base |
| 819 | backing file format: IMGFMT |
| 820 | image: TEST_DIR/t.IMGFMT.ovl2 |
| 821 | file format: IMGFMT |
Eric Blake | de38b50 | 2019-04-17 12:11:01 -0500 | [diff] [blame] | 822 | virtual size: 64 MiB (67108864 bytes) |
Kevin Wolf | 7c61a4a | 2017-06-29 19:56:48 +0200 | [diff] [blame] | 823 | cluster_size: 65536 |
| 824 | backing file: TEST_DIR/t.IMGFMT.base |
| 825 | backing file format: IMGFMT |
| 826 | *** done |