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