]>
Commit | Line | Data |
---|---|---|
24575bfa KW |
1 | QA output created by 185 |
2 | Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 | |
3 | ||
4 | === Starting VM === | |
5 | ||
a98b1a1f | 6 | { 'execute': 'qmp_capabilities' } |
24575bfa KW |
7 | {"return": {}} |
8 | ||
9 | === Creating backing chain === | |
10 | ||
0e720781 HR |
11 | { 'execute': 'blockdev-snapshot-sync', |
12 | 'arguments': { 'device': 'disk', | |
13 | 'snapshot-file': 'TEST_DIR/t.IMGFMT.mid', | |
14 | 'format': 'IMGFMT', | |
15 | 'mode': 'absolute-paths' } } | |
7be20252 | 16 | Formatting 'TEST_DIR/t.qcow2.mid', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 backing_file=TEST_DIR/t.qcow2.base backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 |
24575bfa | 17 | {"return": {}} |
0e720781 HR |
18 | { 'execute': 'human-monitor-command', |
19 | 'arguments': { 'command-line': | |
20 | 'qemu-io disk "write 0 4M"' } } | |
24575bfa KW |
21 | wrote 4194304/4194304 bytes at offset 0 |
22 | 4 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) | |
23 | {"return": ""} | |
0e720781 HR |
24 | { 'execute': 'blockdev-snapshot-sync', |
25 | 'arguments': { 'device': 'disk', | |
26 | 'snapshot-file': 'TEST_DIR/t.IMGFMT', | |
27 | 'format': 'IMGFMT', | |
28 | 'mode': 'absolute-paths' } } | |
7be20252 | 29 | Formatting 'TEST_DIR/t.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 backing_file=TEST_DIR/t.qcow2.mid backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 |
24575bfa KW |
30 | {"return": {}} |
31 | ||
32 | === Start commit job and exit qemu === | |
33 | ||
0e720781 HR |
34 | { 'execute': 'block-commit', |
35 | 'arguments': { 'device': 'disk', | |
36 | 'base':'TEST_DIR/t.IMGFMT.base', | |
37 | 'top': 'TEST_DIR/t.IMGFMT.mid', | |
38 | 'speed': 65536 } } | |
1dac83f1 KW |
39 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}} |
40 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}} | |
24575bfa | 41 | {"return": {}} |
a98b1a1f | 42 | { 'execute': 'quit' } |
24575bfa | 43 | {"return": {}} |
92548938 | 44 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} |
4c7e813c | 45 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 67108864, "offset": 524288, "speed": 65536, "type": "commit"}} |
24575bfa KW |
46 | |
47 | === Start active commit job and exit qemu === | |
48 | ||
a98b1a1f | 49 | { 'execute': 'qmp_capabilities' } |
24575bfa | 50 | {"return": {}} |
0e720781 HR |
51 | { 'execute': 'block-commit', |
52 | 'arguments': { 'device': 'disk', | |
53 | 'base':'TEST_DIR/t.IMGFMT.base', | |
54 | 'speed': 65536 } } | |
1dac83f1 KW |
55 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}} |
56 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}} | |
24575bfa | 57 | {"return": {}} |
a98b1a1f | 58 | { 'execute': 'quit' } |
24575bfa | 59 | {"return": {}} |
92548938 | 60 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} |
4c7e813c | 61 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 4194304, "offset": 4194304, "speed": 65536, "type": "commit"}} |
24575bfa KW |
62 | |
63 | === Start mirror job and exit qemu === | |
64 | ||
a98b1a1f | 65 | { 'execute': 'qmp_capabilities' } |
24575bfa | 66 | {"return": {}} |
0e720781 HR |
67 | { 'execute': 'drive-mirror', |
68 | 'arguments': { 'device': 'disk', | |
69 | 'target': 'TEST_DIR/t.IMGFMT.copy', | |
70 | 'format': 'IMGFMT', | |
71 | 'sync': 'full', | |
72 | 'speed': 65536 } } | |
7be20252 | 73 | Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 lazy_refcounts=off refcount_bits=16 |
1dac83f1 KW |
74 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}} |
75 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}} | |
24575bfa | 76 | {"return": {}} |
a98b1a1f | 77 | { 'execute': 'quit' } |
24575bfa | 78 | {"return": {}} |
92548938 | 79 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} |
4c7e813c | 80 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 4194304, "offset": 4194304, "speed": 65536, "type": "mirror"}} |
24575bfa KW |
81 | |
82 | === Start backup job and exit qemu === | |
83 | ||
a98b1a1f | 84 | { 'execute': 'qmp_capabilities' } |
24575bfa | 85 | {"return": {}} |
0e720781 HR |
86 | { 'execute': 'drive-backup', |
87 | 'arguments': { 'device': 'disk', | |
88 | 'target': 'TEST_DIR/t.IMGFMT.copy', | |
89 | 'format': 'IMGFMT', | |
90 | 'sync': 'full', | |
61623f82 | 91 | 'speed': 65536, |
c9308314 | 92 | 'x-perf': {'max-chunk': 65536} } } |
7be20252 | 93 | Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 lazy_refcounts=off refcount_bits=16 |
1dac83f1 KW |
94 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}} |
95 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}} | |
2288ccfa SL |
96 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "paused", "id": "disk"}} |
97 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}} | |
24575bfa | 98 | {"return": {}} |
a98b1a1f | 99 | { 'execute': 'quit' } |
24575bfa | 100 | {"return": {}} |
92548938 | 101 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} |
4c7e813c | 102 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 67108864, "offset": 65536, "speed": 65536, "type": "backup"}} |
24575bfa KW |
103 | |
104 | === Start streaming job and exit qemu === | |
105 | ||
a98b1a1f | 106 | { 'execute': 'qmp_capabilities' } |
24575bfa | 107 | {"return": {}} |
0e720781 HR |
108 | { 'execute': 'block-stream', |
109 | 'arguments': { 'device': 'disk', | |
110 | 'speed': 65536 } } | |
1dac83f1 KW |
111 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}} |
112 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}} | |
24575bfa | 113 | {"return": {}} |
a98b1a1f | 114 | { 'execute': 'quit' } |
24575bfa | 115 | {"return": {}} |
92548938 | 116 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} |
4c7e813c | 117 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 67108864, "offset": 524288, "speed": 65536, "type": "stream"}} |
24575bfa | 118 | No errors were found on the image. |
ad6fe44b HR |
119 | |
120 | === Start mirror to throttled QSD and exit qemu === | |
121 | ||
122 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 | |
123 | {"execute": "qmp_capabilities"} | |
124 | {"return": {}} | |
125 | {"execute": "blockdev-mirror", | |
126 | "arguments": { | |
127 | "job-id": "mirror", | |
128 | "device": "source-fmt", | |
129 | "target": "target", | |
130 | "sync": "top" | |
131 | }} | |
132 | {"return": {}} | |
133 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_READY", "data": {"device": "mirror", "len": 0, "offset": 0, "speed": 0, "type": "mirror"}} | |
134 | --- Writing data to the virtio-blk device --- | |
135 | {"execute": "quit"} | |
136 | {"return": {}} | |
137 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} | |
138 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "standby", "id": "mirror"}} | |
139 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "ready", "id": "mirror"}} | |
65c23ef1 FE |
140 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "standby", "id": "mirror"}} |
141 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "ready", "id": "mirror"}} | |
ad6fe44b HR |
142 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "aborting", "id": "mirror"}} |
143 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "mirror", "len": 33554432, "offset": (filtered), "speed": 0, "type": "mirror"}} | |
144 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "mirror"}} | |
145 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "mirror"}} | |
146 | ||
147 | === Start active commit to throttled QSD and exit qemu === | |
148 | ||
149 | Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 | |
150 | {"execute": "qmp_capabilities"} | |
151 | {"return": {}} | |
152 | {"execute": "block-commit", | |
153 | "arguments": { | |
154 | "job-id": "commit", | |
155 | "device": "source-fmt" | |
156 | }} | |
157 | {"return": {}} | |
158 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_READY", "data": {"device": "commit", "len": 0, "offset": 0, "speed": 0, "type": "commit"}} | |
159 | --- Writing data to the virtio-blk device --- | |
160 | {"execute": "quit"} | |
161 | {"return": {}} | |
162 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}} | |
163 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "standby", "id": "commit"}} | |
164 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "ready", "id": "commit"}} | |
65c23ef1 FE |
165 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "standby", "id": "commit"}} |
166 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "ready", "id": "commit"}} | |
ad6fe44b HR |
167 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "aborting", "id": "commit"}} |
168 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "commit", "len": 33554432, "offset": (filtered), "speed": 0, "type": "commit"}} | |
169 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "concluded", "id": "commit"}} | |
170 | {"timestamp": {"seconds": TIMESTAMP, "microseconds": TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "null", "id": "commit"}} | |
24575bfa | 171 | *** done |