1QA output created by 273 2Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 3Formatting 'TEST_DIR/t.IMGFMT.mid', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base 4Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid 5Testing: -blockdev file,node-name=base,filename=TEST_DIR/t.IMGFMT.base -blockdev file,node-name=midf,filename=TEST_DIR/t.IMGFMT.mid -blockdev {"driver":"IMGFMT","node-name":"mid","file":"midf","backing":null} -blockdev file,node-name=topf,filename=TEST_DIR/t.IMGFMT -blockdev {"driver":"IMGFMT","file":"topf","node-name":"top","backing":null} 6{ 7 QMP_VERSION 8} 9{ 10 "return": { 11 } 12} 13{ 14 "return": { 15 } 16} 17{ 18 "return": { 19 } 20} 21{ 22 "return": [ 23 { 24 "iops_rd": 0, 25 "detect_zeroes": "off", 26 "image": { 27 "backing-image": { 28 "backing-image": { 29 "virtual-size": 197120, 30 "filename": "TEST_DIR/t.IMGFMT.base", 31 "format": "file", 32 "actual-size": SIZE, 33 "dirty-flag": false 34 }, 35 "backing-filename-format": "file", 36 "virtual-size": 67108864, 37 "filename": "TEST_DIR/t.IMGFMT.mid", 38 "cluster-size": 65536, 39 "format": "IMGFMT", 40 "actual-size": SIZE, 41 "format-specific": { 42 "type": "IMGFMT", 43 "data": { 44 "compat": "1.1", 45 "lazy-refcounts": false, 46 "refcount-bits": 16, 47 "corrupt": false 48 } 49 }, 50 "full-backing-filename": "TEST_DIR/t.IMGFMT.base", 51 "backing-filename": "TEST_DIR/t.IMGFMT.base", 52 "dirty-flag": false 53 }, 54 "backing-filename-format": "IMGFMT", 55 "virtual-size": 67108864, 56 "filename": "TEST_DIR/t.IMGFMT", 57 "cluster-size": 65536, 58 "format": "IMGFMT", 59 "actual-size": SIZE, 60 "format-specific": { 61 "type": "IMGFMT", 62 "data": { 63 "compat": "1.1", 64 "lazy-refcounts": false, 65 "refcount-bits": 16, 66 "corrupt": false 67 } 68 }, 69 "full-backing-filename": "TEST_DIR/t.IMGFMT.mid", 70 "backing-filename": "TEST_DIR/t.IMGFMT.mid", 71 "dirty-flag": false 72 }, 73 "iops_wr": 0, 74 "ro": false, 75 "node-name": "top", 76 "backing_file_depth": 2, 77 "drv": "IMGFMT", 78 "iops": 0, 79 "bps_wr": 0, 80 "write_threshold": 0, 81 "backing_file": "TEST_DIR/t.IMGFMT.mid", 82 "encrypted": false, 83 "bps": 0, 84 "bps_rd": 0, 85 "cache": { 86 "no-flush": false, 87 "direct": false, 88 "writeback": true 89 }, 90 "file": "TEST_DIR/t.IMGFMT", 91 "encryption_key_missing": false 92 }, 93 { 94 "iops_rd": 0, 95 "detect_zeroes": "off", 96 "image": { 97 "virtual-size": 197120, 98 "filename": "TEST_DIR/t.IMGFMT", 99 "format": "file", 100 "actual-size": SIZE, 101 "dirty-flag": false 102 }, 103 "iops_wr": 0, 104 "ro": false, 105 "node-name": "topf", 106 "backing_file_depth": 0, 107 "drv": "file", 108 "iops": 0, 109 "bps_wr": 0, 110 "write_threshold": 0, 111 "encrypted": false, 112 "bps": 0, 113 "bps_rd": 0, 114 "cache": { 115 "no-flush": false, 116 "direct": false, 117 "writeback": true 118 }, 119 "file": "TEST_DIR/t.IMGFMT", 120 "encryption_key_missing": false 121 }, 122 { 123 "iops_rd": 0, 124 "detect_zeroes": "off", 125 "image": { 126 "backing-image": { 127 "virtual-size": 197120, 128 "filename": "TEST_DIR/t.IMGFMT.base", 129 "format": "file", 130 "actual-size": SIZE, 131 "dirty-flag": false 132 }, 133 "backing-filename-format": "file", 134 "virtual-size": 67108864, 135 "filename": "TEST_DIR/t.IMGFMT.mid", 136 "cluster-size": 65536, 137 "format": "IMGFMT", 138 "actual-size": SIZE, 139 "format-specific": { 140 "type": "IMGFMT", 141 "data": { 142 "compat": "1.1", 143 "lazy-refcounts": false, 144 "refcount-bits": 16, 145 "corrupt": false 146 } 147 }, 148 "full-backing-filename": "TEST_DIR/t.IMGFMT.base", 149 "backing-filename": "TEST_DIR/t.IMGFMT.base", 150 "dirty-flag": false 151 }, 152 "iops_wr": 0, 153 "ro": true, 154 "node-name": "mid", 155 "backing_file_depth": 1, 156 "drv": "IMGFMT", 157 "iops": 0, 158 "bps_wr": 0, 159 "write_threshold": 0, 160 "backing_file": "TEST_DIR/t.IMGFMT.base", 161 "encrypted": false, 162 "bps": 0, 163 "bps_rd": 0, 164 "cache": { 165 "no-flush": false, 166 "direct": false, 167 "writeback": true 168 }, 169 "file": "TEST_DIR/t.IMGFMT.mid", 170 "encryption_key_missing": false 171 }, 172 { 173 "iops_rd": 0, 174 "detect_zeroes": "off", 175 "image": { 176 "virtual-size": 197120, 177 "filename": "TEST_DIR/t.IMGFMT.mid", 178 "format": "file", 179 "actual-size": SIZE, 180 "dirty-flag": false 181 }, 182 "iops_wr": 0, 183 "ro": false, 184 "node-name": "midf", 185 "backing_file_depth": 0, 186 "drv": "file", 187 "iops": 0, 188 "bps_wr": 0, 189 "write_threshold": 0, 190 "encrypted": false, 191 "bps": 0, 192 "bps_rd": 0, 193 "cache": { 194 "no-flush": false, 195 "direct": false, 196 "writeback": true 197 }, 198 "file": "TEST_DIR/t.IMGFMT.mid", 199 "encryption_key_missing": false 200 }, 201 { 202 "iops_rd": 0, 203 "detect_zeroes": "off", 204 "image": { 205 "virtual-size": 197120, 206 "filename": "TEST_DIR/t.IMGFMT.base", 207 "format": "file", 208 "actual-size": SIZE, 209 "dirty-flag": false 210 }, 211 "iops_wr": 0, 212 "ro": true, 213 "node-name": "base", 214 "backing_file_depth": 0, 215 "drv": "file", 216 "iops": 0, 217 "bps_wr": 0, 218 "write_threshold": 0, 219 "encrypted": false, 220 "bps": 0, 221 "bps_rd": 0, 222 "cache": { 223 "no-flush": false, 224 "direct": false, 225 "writeback": true 226 }, 227 "file": "TEST_DIR/t.IMGFMT.base", 228 "encryption_key_missing": false 229 } 230 ] 231} 232{ 233 "return": { 234 "edges": [ 235 { 236 "name": "file", 237 "parent": 5, 238 "shared-perm": [ 239 "graph-mod", 240 "write-unchanged", 241 "consistent-read" 242 ], 243 "perm": [ 244 "resize", 245 "write", 246 "consistent-read" 247 ], 248 "child": 4 249 }, 250 { 251 "name": "backing", 252 "parent": 5, 253 "shared-perm": [ 254 "graph-mod", 255 "resize", 256 "write-unchanged", 257 "write", 258 "consistent-read" 259 ], 260 "perm": [ 261 ], 262 "child": 3 263 }, 264 { 265 "name": "file", 266 "parent": 3, 267 "shared-perm": [ 268 "graph-mod", 269 "write-unchanged", 270 "consistent-read" 271 ], 272 "perm": [ 273 "consistent-read" 274 ], 275 "child": 2 276 }, 277 { 278 "name": "backing", 279 "parent": 3, 280 "shared-perm": [ 281 "graph-mod", 282 "resize", 283 "write-unchanged", 284 "write", 285 "consistent-read" 286 ], 287 "perm": [ 288 ], 289 "child": 1 290 } 291 ], 292 "nodes": [ 293 { 294 "name": "top", 295 "type": "block-driver", 296 "id": 5 297 }, 298 { 299 "name": "topf", 300 "type": "block-driver", 301 "id": 4 302 }, 303 { 304 "name": "mid", 305 "type": "block-driver", 306 "id": 3 307 }, 308 { 309 "name": "midf", 310 "type": "block-driver", 311 "id": 2 312 }, 313 { 314 "name": "base", 315 "type": "block-driver", 316 "id": 1 317 } 318 ] 319 } 320} 321{ 322 "return": { 323 } 324} 325{ 326 "timestamp": { 327 "seconds": TIMESTAMP, 328 "microseconds": TIMESTAMP 329 }, 330 "event": "SHUTDOWN", 331 "data": { 332 "guest": false, 333 "reason": "host-qmp-quit" 334 } 335} 336 337*** done 338