1QA output created by 191 2 3=== Preparing and starting VM === 4 5Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 6Formatting 'TEST_DIR/t.IMGFMT.mid', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base backing_fmt=IMGFMT 7Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid 8Formatting 'TEST_DIR/t.IMGFMT.ovl2', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid 9wrote 65536/65536 bytes at offset 1048576 1064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 11{ 12 "return": { 13 } 14} 15 16=== Perform commit job === 17 18{ 19 "return": { 20 } 21} 22{ 23 "timestamp": { 24 "seconds": TIMESTAMP, 25 "microseconds": TIMESTAMP 26 }, 27 "event": "BLOCK_JOB_COMPLETED", 28 "data": { 29 "device": "commit0", 30 "len": 67108864, 31 "offset": 67108864, 32 "speed": 0, 33 "type": "commit" 34 } 35} 36 37=== Check that both top and top2 point to base now === 38 39{ 40 "return": [ 41 { 42 "iops_rd": 0, 43 "detect_zeroes": "off", 44 "image": { 45 "backing-image": { 46 "virtual-size": 67108864, 47 "filename": "TEST_DIR/t.IMGFMT.base", 48 "cluster-size": 65536, 49 "format": "IMGFMT", 50 "actual-size": SIZE, 51 "dirty-flag": false 52 }, 53 "backing-filename-format": "IMGFMT", 54 "virtual-size": 67108864, 55 "filename": "TEST_DIR/t.IMGFMT.ovl2", 56 "cluster-size": 65536, 57 "format": "IMGFMT", 58 "actual-size": SIZE, 59 "full-backing-filename": "TEST_DIR/t.IMGFMT.base", 60 "backing-filename": "TEST_DIR/t.IMGFMT.base", 61 "dirty-flag": false 62 }, 63 "iops_wr": 0, 64 "ro": false, 65 "node-name": "top2", 66 "backing_file_depth": 1, 67 "drv": "IMGFMT", 68 "iops": 0, 69 "bps_wr": 0, 70 "write_threshold": 0, 71 "backing_file": "TEST_DIR/t.IMGFMT.base", 72 "encrypted": false, 73 "bps": 0, 74 "bps_rd": 0, 75 "cache": { 76 "no-flush": false, 77 "direct": false, 78 "writeback": true 79 }, 80 "file": "TEST_DIR/t.IMGFMT.ovl2", 81 "encryption_key_missing": false 82 }, 83 { 84 "iops_rd": 0, 85 "detect_zeroes": "off", 86 "image": { 87 "virtual-size": 197120, 88 "filename": "TEST_DIR/t.IMGFMT.ovl2", 89 "format": "file", 90 "actual-size": SIZE, 91 "dirty-flag": false 92 }, 93 "iops_wr": 0, 94 "ro": false, 95 "node-name": "NODE_NAME", 96 "backing_file_depth": 0, 97 "drv": "file", 98 "iops": 0, 99 "bps_wr": 0, 100 "write_threshold": 0, 101 "encrypted": false, 102 "bps": 0, 103 "bps_rd": 0, 104 "cache": { 105 "no-flush": false, 106 "direct": false, 107 "writeback": true 108 }, 109 "file": "TEST_DIR/t.IMGFMT.ovl2", 110 "encryption_key_missing": false 111 }, 112 { 113 "iops_rd": 0, 114 "detect_zeroes": "off", 115 "image": { 116 "backing-image": { 117 "virtual-size": 67108864, 118 "filename": "TEST_DIR/t.IMGFMT.base", 119 "cluster-size": 65536, 120 "format": "IMGFMT", 121 "actual-size": SIZE, 122 "dirty-flag": false 123 }, 124 "backing-filename-format": "IMGFMT", 125 "virtual-size": 67108864, 126 "filename": "TEST_DIR/t.IMGFMT", 127 "cluster-size": 65536, 128 "format": "IMGFMT", 129 "actual-size": SIZE, 130 "full-backing-filename": "TEST_DIR/t.IMGFMT.base", 131 "backing-filename": "TEST_DIR/t.IMGFMT.base", 132 "dirty-flag": false 133 }, 134 "iops_wr": 0, 135 "ro": false, 136 "node-name": "top", 137 "backing_file_depth": 1, 138 "drv": "IMGFMT", 139 "iops": 0, 140 "bps_wr": 0, 141 "write_threshold": 0, 142 "backing_file": "TEST_DIR/t.IMGFMT.base", 143 "encrypted": false, 144 "bps": 0, 145 "bps_rd": 0, 146 "cache": { 147 "no-flush": false, 148 "direct": false, 149 "writeback": true 150 }, 151 "file": "TEST_DIR/t.IMGFMT", 152 "encryption_key_missing": false 153 }, 154 { 155 "iops_rd": 0, 156 "detect_zeroes": "off", 157 "image": { 158 "virtual-size": 197120, 159 "filename": "TEST_DIR/t.IMGFMT", 160 "format": "file", 161 "actual-size": SIZE, 162 "dirty-flag": false 163 }, 164 "iops_wr": 0, 165 "ro": false, 166 "node-name": "NODE_NAME", 167 "backing_file_depth": 0, 168 "drv": "file", 169 "iops": 0, 170 "bps_wr": 0, 171 "write_threshold": 0, 172 "encrypted": false, 173 "bps": 0, 174 "bps_rd": 0, 175 "cache": { 176 "no-flush": false, 177 "direct": false, 178 "writeback": true 179 }, 180 "file": "TEST_DIR/t.IMGFMT", 181 "encryption_key_missing": false 182 }, 183 { 184 "iops_rd": 0, 185 "detect_zeroes": "off", 186 "image": { 187 "backing-image": { 188 "virtual-size": 67108864, 189 "filename": "TEST_DIR/t.IMGFMT.base", 190 "cluster-size": 65536, 191 "format": "IMGFMT", 192 "actual-size": SIZE, 193 "dirty-flag": false 194 }, 195 "backing-filename-format": "IMGFMT", 196 "virtual-size": 67108864, 197 "filename": "TEST_DIR/t.IMGFMT.mid", 198 "cluster-size": 65536, 199 "format": "IMGFMT", 200 "actual-size": SIZE, 201 "full-backing-filename": "TEST_DIR/t.IMGFMT.base", 202 "backing-filename": "TEST_DIR/t.IMGFMT.base", 203 "dirty-flag": false 204 }, 205 "iops_wr": 0, 206 "ro": false, 207 "node-name": "mid", 208 "backing_file_depth": 1, 209 "drv": "IMGFMT", 210 "iops": 0, 211 "bps_wr": 0, 212 "write_threshold": 0, 213 "backing_file": "TEST_DIR/t.IMGFMT.base", 214 "encrypted": false, 215 "bps": 0, 216 "bps_rd": 0, 217 "cache": { 218 "no-flush": false, 219 "direct": false, 220 "writeback": true 221 }, 222 "file": "TEST_DIR/t.IMGFMT.mid", 223 "encryption_key_missing": false 224 }, 225 { 226 "iops_rd": 0, 227 "detect_zeroes": "off", 228 "image": { 229 "virtual-size": 393216, 230 "filename": "TEST_DIR/t.IMGFMT.mid", 231 "format": "file", 232 "actual-size": SIZE, 233 "dirty-flag": false 234 }, 235 "iops_wr": 0, 236 "ro": false, 237 "node-name": "NODE_NAME", 238 "backing_file_depth": 0, 239 "drv": "file", 240 "iops": 0, 241 "bps_wr": 0, 242 "write_threshold": 0, 243 "encrypted": false, 244 "bps": 0, 245 "bps_rd": 0, 246 "cache": { 247 "no-flush": false, 248 "direct": false, 249 "writeback": true 250 }, 251 "file": "TEST_DIR/t.IMGFMT.mid", 252 "encryption_key_missing": false 253 }, 254 { 255 "iops_rd": 0, 256 "detect_zeroes": "off", 257 "image": { 258 "virtual-size": 67108864, 259 "filename": "TEST_DIR/t.IMGFMT.base", 260 "cluster-size": 65536, 261 "format": "IMGFMT", 262 "actual-size": SIZE, 263 "dirty-flag": false 264 }, 265 "iops_wr": 0, 266 "ro": false, 267 "node-name": "base", 268 "backing_file_depth": 0, 269 "drv": "IMGFMT", 270 "iops": 0, 271 "bps_wr": 0, 272 "write_threshold": 0, 273 "encrypted": false, 274 "bps": 0, 275 "bps_rd": 0, 276 "cache": { 277 "no-flush": false, 278 "direct": false, 279 "writeback": true 280 }, 281 "file": "TEST_DIR/t.IMGFMT.base", 282 "encryption_key_missing": false 283 }, 284 { 285 "iops_rd": 0, 286 "detect_zeroes": "off", 287 "image": { 288 "virtual-size": 393216, 289 "filename": "TEST_DIR/t.IMGFMT.base", 290 "format": "file", 291 "actual-size": SIZE, 292 "dirty-flag": false 293 }, 294 "iops_wr": 0, 295 "ro": false, 296 "node-name": "NODE_NAME", 297 "backing_file_depth": 0, 298 "drv": "file", 299 "iops": 0, 300 "bps_wr": 0, 301 "write_threshold": 0, 302 "encrypted": false, 303 "bps": 0, 304 "bps_rd": 0, 305 "cache": { 306 "no-flush": false, 307 "direct": false, 308 "writeback": true 309 }, 310 "file": "TEST_DIR/t.IMGFMT.base", 311 "encryption_key_missing": false 312 } 313 ] 314} 315{ 316 "return": { 317 } 318} 319{ 320 "timestamp": { 321 "seconds": TIMESTAMP, 322 "microseconds": TIMESTAMP 323 }, 324 "event": "SHUTDOWN", 325 "data": { 326 "guest": false 327 } 328} 329image: TEST_DIR/t.IMGFMT 330file format: IMGFMT 331virtual size: 64M (67108864 bytes) 332cluster_size: 65536 333backing file: TEST_DIR/t.IMGFMT.base 334backing file format: IMGFMT 335image: TEST_DIR/t.IMGFMT.ovl2 336file format: IMGFMT 337virtual size: 64M (67108864 bytes) 338cluster_size: 65536 339backing file: TEST_DIR/t.IMGFMT.base 340backing file format: IMGFMT 341 342=== Preparing and starting VM with -drive === 343 344Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 345Formatting 'TEST_DIR/t.IMGFMT.mid', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base 346Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid 347Formatting 'TEST_DIR/t.IMGFMT.ovl2', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid 348Formatting 'TEST_DIR/t.IMGFMT.ovl3', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.ovl2 349wrote 65536/65536 bytes at offset 1048576 35064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 351{ 352 "return": { 353 } 354} 355 356=== Perform commit job === 357 358{ 359 "return": { 360 } 361} 362{ 363 "timestamp": { 364 "seconds": TIMESTAMP, 365 "microseconds": TIMESTAMP 366 }, 367 "event": "BLOCK_JOB_COMPLETED", 368 "data": { 369 "device": "commit0", 370 "len": 67108864, 371 "offset": 67108864, 372 "speed": 0, 373 "type": "commit" 374 } 375} 376 377=== Check that both top and top2 point to base now === 378 379{ 380 "return": [ 381 { 382 "iops_rd": 0, 383 "detect_zeroes": "off", 384 "image": { 385 "backing-image": { 386 "virtual-size": 67108864, 387 "filename": "TEST_DIR/t.IMGFMT.base", 388 "cluster-size": 65536, 389 "format": "IMGFMT", 390 "actual-size": SIZE, 391 "dirty-flag": false 392 }, 393 "backing-filename-format": "IMGFMT", 394 "virtual-size": 67108864, 395 "filename": "TEST_DIR/t.IMGFMT.ovl2", 396 "cluster-size": 65536, 397 "format": "IMGFMT", 398 "actual-size": SIZE, 399 "full-backing-filename": "TEST_DIR/t.IMGFMT.base", 400 "backing-filename": "TEST_DIR/t.IMGFMT.base", 401 "dirty-flag": false 402 }, 403 "iops_wr": 0, 404 "ro": true, 405 "node-name": "NODE_NAME", 406 "backing_file_depth": 1, 407 "drv": "IMGFMT", 408 "iops": 0, 409 "bps_wr": 0, 410 "write_threshold": 0, 411 "backing_file": "TEST_DIR/t.IMGFMT.base", 412 "encrypted": false, 413 "bps": 0, 414 "bps_rd": 0, 415 "cache": { 416 "no-flush": false, 417 "direct": false, 418 "writeback": true 419 }, 420 "file": "TEST_DIR/t.IMGFMT.ovl2", 421 "encryption_key_missing": false 422 }, 423 { 424 "iops_rd": 0, 425 "detect_zeroes": "off", 426 "image": { 427 "virtual-size": 197120, 428 "filename": "TEST_DIR/t.IMGFMT.ovl2", 429 "format": "file", 430 "actual-size": SIZE, 431 "dirty-flag": false 432 }, 433 "iops_wr": 0, 434 "ro": true, 435 "node-name": "NODE_NAME", 436 "backing_file_depth": 0, 437 "drv": "file", 438 "iops": 0, 439 "bps_wr": 0, 440 "write_threshold": 0, 441 "encrypted": false, 442 "bps": 0, 443 "bps_rd": 0, 444 "cache": { 445 "no-flush": false, 446 "direct": false, 447 "writeback": true 448 }, 449 "file": "TEST_DIR/t.IMGFMT.ovl2", 450 "encryption_key_missing": false 451 }, 452 { 453 "iops_rd": 0, 454 "detect_zeroes": "off", 455 "image": { 456 "backing-image": { 457 "backing-image": { 458 "virtual-size": 67108864, 459 "filename": "TEST_DIR/t.IMGFMT.base", 460 "cluster-size": 65536, 461 "format": "IMGFMT", 462 "actual-size": SIZE, 463 "dirty-flag": false 464 }, 465 "backing-filename-format": "IMGFMT", 466 "virtual-size": 67108864, 467 "filename": "TEST_DIR/t.IMGFMT.ovl2", 468 "cluster-size": 65536, 469 "format": "IMGFMT", 470 "actual-size": SIZE, 471 "full-backing-filename": "TEST_DIR/t.IMGFMT.base", 472 "backing-filename": "TEST_DIR/t.IMGFMT.base", 473 "dirty-flag": false 474 }, 475 "backing-filename-format": "IMGFMT", 476 "virtual-size": 67108864, 477 "filename": "TEST_DIR/t.IMGFMT.ovl3", 478 "cluster-size": 65536, 479 "format": "IMGFMT", 480 "actual-size": SIZE, 481 "full-backing-filename": "TEST_DIR/t.IMGFMT.ovl2", 482 "backing-filename": "TEST_DIR/t.IMGFMT.ovl2", 483 "dirty-flag": false 484 }, 485 "iops_wr": 0, 486 "ro": false, 487 "node-name": "top2", 488 "backing_file_depth": 2, 489 "drv": "IMGFMT", 490 "iops": 0, 491 "bps_wr": 0, 492 "write_threshold": 0, 493 "backing_file": "TEST_DIR/t.IMGFMT.ovl2", 494 "encrypted": false, 495 "bps": 0, 496 "bps_rd": 0, 497 "cache": { 498 "no-flush": false, 499 "direct": false, 500 "writeback": true 501 }, 502 "file": "TEST_DIR/t.IMGFMT.ovl3", 503 "encryption_key_missing": false 504 }, 505 { 506 "iops_rd": 0, 507 "detect_zeroes": "off", 508 "image": { 509 "virtual-size": 197120, 510 "filename": "TEST_DIR/t.IMGFMT.ovl3", 511 "format": "file", 512 "actual-size": SIZE, 513 "dirty-flag": false 514 }, 515 "iops_wr": 0, 516 "ro": false, 517 "node-name": "NODE_NAME", 518 "backing_file_depth": 0, 519 "drv": "file", 520 "iops": 0, 521 "bps_wr": 0, 522 "write_threshold": 0, 523 "encrypted": false, 524 "bps": 0, 525 "bps_rd": 0, 526 "cache": { 527 "no-flush": false, 528 "direct": false, 529 "writeback": true 530 }, 531 "file": "TEST_DIR/t.IMGFMT.ovl3", 532 "encryption_key_missing": false 533 }, 534 { 535 "iops_rd": 0, 536 "detect_zeroes": "off", 537 "image": { 538 "virtual-size": 67108864, 539 "filename": "TEST_DIR/t.IMGFMT.base", 540 "cluster-size": 65536, 541 "format": "IMGFMT", 542 "actual-size": SIZE, 543 "dirty-flag": false 544 }, 545 "iops_wr": 0, 546 "ro": true, 547 "node-name": "NODE_NAME", 548 "backing_file_depth": 0, 549 "drv": "IMGFMT", 550 "iops": 0, 551 "bps_wr": 0, 552 "write_threshold": 0, 553 "encrypted": false, 554 "bps": 0, 555 "bps_rd": 0, 556 "cache": { 557 "no-flush": false, 558 "direct": false, 559 "writeback": true 560 }, 561 "file": "TEST_DIR/t.IMGFMT.base", 562 "encryption_key_missing": false 563 }, 564 { 565 "iops_rd": 0, 566 "detect_zeroes": "off", 567 "image": { 568 "virtual-size": 393216, 569 "filename": "TEST_DIR/t.IMGFMT.base", 570 "format": "file", 571 "actual-size": SIZE, 572 "dirty-flag": false 573 }, 574 "iops_wr": 0, 575 "ro": true, 576 "node-name": "NODE_NAME", 577 "backing_file_depth": 0, 578 "drv": "file", 579 "iops": 0, 580 "bps_wr": 0, 581 "write_threshold": 0, 582 "encrypted": false, 583 "bps": 0, 584 "bps_rd": 0, 585 "cache": { 586 "no-flush": false, 587 "direct": false, 588 "writeback": true 589 }, 590 "file": "TEST_DIR/t.IMGFMT.base", 591 "encryption_key_missing": false 592 }, 593 { 594 "iops_rd": 0, 595 "detect_zeroes": "off", 596 "image": { 597 "backing-image": { 598 "virtual-size": 67108864, 599 "filename": "TEST_DIR/t.IMGFMT.base", 600 "cluster-size": 65536, 601 "format": "IMGFMT", 602 "actual-size": SIZE, 603 "dirty-flag": false 604 }, 605 "backing-filename-format": "IMGFMT", 606 "virtual-size": 67108864, 607 "filename": "TEST_DIR/t.IMGFMT", 608 "cluster-size": 65536, 609 "format": "IMGFMT", 610 "actual-size": SIZE, 611 "full-backing-filename": "TEST_DIR/t.IMGFMT.base", 612 "backing-filename": "TEST_DIR/t.IMGFMT.base", 613 "dirty-flag": false 614 }, 615 "iops_wr": 0, 616 "ro": false, 617 "node-name": "top", 618 "backing_file_depth": 1, 619 "drv": "IMGFMT", 620 "iops": 0, 621 "bps_wr": 0, 622 "write_threshold": 0, 623 "backing_file": "TEST_DIR/t.IMGFMT.base", 624 "encrypted": false, 625 "bps": 0, 626 "bps_rd": 0, 627 "cache": { 628 "no-flush": false, 629 "direct": false, 630 "writeback": true 631 }, 632 "file": "TEST_DIR/t.IMGFMT", 633 "encryption_key_missing": false 634 }, 635 { 636 "iops_rd": 0, 637 "detect_zeroes": "off", 638 "image": { 639 "virtual-size": 197120, 640 "filename": "TEST_DIR/t.IMGFMT", 641 "format": "file", 642 "actual-size": SIZE, 643 "dirty-flag": false 644 }, 645 "iops_wr": 0, 646 "ro": false, 647 "node-name": "NODE_NAME", 648 "backing_file_depth": 0, 649 "drv": "file", 650 "iops": 0, 651 "bps_wr": 0, 652 "write_threshold": 0, 653 "encrypted": false, 654 "bps": 0, 655 "bps_rd": 0, 656 "cache": { 657 "no-flush": false, 658 "direct": false, 659 "writeback": true 660 }, 661 "file": "TEST_DIR/t.IMGFMT", 662 "encryption_key_missing": false 663 } 664 ] 665} 666{ 667 "return": { 668 } 669} 670{ 671 "timestamp": { 672 "seconds": TIMESTAMP, 673 "microseconds": TIMESTAMP 674 }, 675 "event": "SHUTDOWN", 676 "data": { 677 "guest": false 678 } 679} 680image: TEST_DIR/t.IMGFMT 681file format: IMGFMT 682virtual size: 64M (67108864 bytes) 683cluster_size: 65536 684backing file: TEST_DIR/t.IMGFMT.base 685backing file format: IMGFMT 686image: TEST_DIR/t.IMGFMT.ovl2 687file format: IMGFMT 688virtual size: 64M (67108864 bytes) 689cluster_size: 65536 690backing file: TEST_DIR/t.IMGFMT.base 691backing file format: IMGFMT 692*** done 693