1 Finishing a commit job with background reads
2 ============================================
4 === Create backing chain and start VM ===
6 Formatting 'TEST_DIR/PID-t.qcow2.mid', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 lazy_refcounts=off refcount_bits=16
8 Formatting 'TEST_DIR/PID-t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 lazy_refcounts=off refcount_bits=16
10 === Start background read requests ===
12 === Run a commit job ===
14 {"execute": "block-commit", "arguments": {"auto-finalize": false, "device": "overlay", "job-id": "job0", "top-node": "mid"}}
16 {"execute": "job-finalize", "arguments": {"id": "job0"}}
18 {"data": {"id": "job0", "type": "commit"}, "event": "BLOCK_JOB_PENDING", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
19 {"data": {"device": "job0", "len": 134217728, "offset": 134217728, "speed": 0, "type": "commit"}, "event": "BLOCK_JOB_COMPLETED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
21 Closing the VM while a job is being cancelled
22 =============================================
24 === Create images and start VM ===
26 Formatting 'TEST_DIR/PID-src.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 lazy_refcounts=off refcount_bits=16
28 Formatting 'TEST_DIR/PID-dst.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=134217728 lazy_refcounts=off refcount_bits=16
30 wrote 1048576/1048576 bytes at offset 0
31 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
33 === Start a mirror job ===
35 {"execute": "blockdev-mirror", "arguments": {"device": "src-throttled", "job-id": "job0", "sync": "full", "target": "dst"}}
37 {"execute": "block-job-cancel", "arguments": {"device": "job0"}}
39 {"execute": "quit", "arguments": {}}