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