xref: /qemu/tests/qemu-iotests/185.out (revision 8b7b9c5c)
1QA output created by 185
2Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864
3
4=== Starting VM ===
5
6{ 'execute': 'qmp_capabilities' }
7{"return": {}}
8
9=== Creating backing chain ===
10
11{ 'execute': 'blockdev-snapshot-sync',
12       'arguments': { 'device': 'disk',
13                      'snapshot-file': 'TEST_DIR/t.IMGFMT.mid',
14                      'format': 'IMGFMT',
15                      'mode': 'absolute-paths' } }
16Formatting '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
17{"return": {}}
18{ 'execute': 'human-monitor-command',
19       'arguments': { 'command-line':
20                      'qemu-io disk "write 0 4M"' } }
21wrote 4194304/4194304 bytes at offset 0
224 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
23{"return": ""}
24{ 'execute': 'blockdev-snapshot-sync',
25       'arguments': { 'device': 'disk',
26                      'snapshot-file': 'TEST_DIR/t.IMGFMT',
27                      'format': 'IMGFMT',
28                      'mode': 'absolute-paths' } }
29Formatting '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
30{"return": {}}
31
32=== Start commit job and exit qemu ===
33
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 } }
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"}}
41{"return": {}}
42{ 'execute': 'quit' }
43{"return": {}}
44{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
45{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 67108864, "offset": 524288, "speed": 65536, "type": "commit"}}
46
47=== Start active commit job and exit qemu ===
48
49{ 'execute': 'qmp_capabilities' }
50{"return": {}}
51{ 'execute': 'block-commit',
52       'arguments': { 'device': 'disk',
53                      'base':'TEST_DIR/t.IMGFMT.base',
54                      'speed': 65536 } }
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"}}
57{"return": {}}
58{ 'execute': 'quit' }
59{"return": {}}
60{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
61{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 4194304, "offset": 4194304, "speed": 65536, "type": "commit"}}
62
63=== Start mirror job and exit qemu ===
64
65{ 'execute': 'qmp_capabilities' }
66{"return": {}}
67{ 'execute': 'drive-mirror',
68       'arguments': { 'device': 'disk',
69                      'target': 'TEST_DIR/t.IMGFMT.copy',
70                      'format': 'IMGFMT',
71                      'sync': 'full',
72                      'speed': 65536 } }
73Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 lazy_refcounts=off refcount_bits=16
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"}}
76{"return": {}}
77{ 'execute': 'quit' }
78{"return": {}}
79{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
80{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 4194304, "offset": 4194304, "speed": 65536, "type": "mirror"}}
81
82=== Start backup job and exit qemu ===
83
84{ 'execute': 'qmp_capabilities' }
85{"return": {}}
86{ 'execute': 'drive-backup',
87       'arguments': { 'device': 'disk',
88                      'target': 'TEST_DIR/t.IMGFMT.copy',
89                      'format': 'IMGFMT',
90                      'sync': 'full',
91                      'speed': 65536,
92                      'x-perf': {'max-chunk': 65536} } }
93Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 lazy_refcounts=off refcount_bits=16
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"}}
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"}}
98{"return": {}}
99{ 'execute': 'quit' }
100{"return": {}}
101{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
102{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 67108864, "offset": 65536, "speed": 65536, "type": "backup"}}
103
104=== Start streaming job and exit qemu ===
105
106{ 'execute': 'qmp_capabilities' }
107{"return": {}}
108{ 'execute': 'block-stream',
109       'arguments': { 'device': 'disk',
110                      'speed': 65536 } }
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"}}
113{"return": {}}
114{ 'execute': 'quit' }
115{"return": {}}
116{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
117{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 67108864, "offset": 524288, "speed": 65536, "type": "stream"}}
118No errors were found on the image.
119
120=== Start mirror to throttled QSD and exit qemu ===
121
122Formatting '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"}}
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"}}
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
149Formatting '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"}}
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"}}
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"}}
171*** done
172