xref: /openbmc/qemu/tests/qemu-iotests/312.out (revision 729cc683)
1QA output created by 312
2
3### Create all images
4
5Formatting 'TEST_DIR/t.IMGFMT.0', fmt=IMGFMT size=10485760
6Formatting 'TEST_DIR/t.IMGFMT.1', fmt=IMGFMT size=10485760
7Formatting 'TEST_DIR/t.IMGFMT.2', fmt=IMGFMT size=10485760
8Formatting 'TEST_DIR/t.IMGFMT.3', fmt=IMGFMT size=10485760
9
10### Output of qemu-img map (empty quorum)
11
12Offset          Length          File
13
14### Write data to the quorum
15
16wrote 65536/65536 bytes at offset 65536
1764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
18wrote 196608/196608 bytes at offset 65536
19192 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
20wrote 131072/131072 bytes at offset 65536
21128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
22wrote 262144/262144 bytes at offset 1048576
23256 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
24wrote 65536/65536 bytes at offset 1114112
2564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
26wrote 196608/196608 bytes at offset 1114112
27192 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
28wrote 131072/131072 bytes at offset 1114112
29128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
30wrote 65536/65536 bytes at offset 1376256
3164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
32wrote 196608/196608 bytes at offset 1376256
33192 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
34wrote 131072/131072 bytes at offset 1376256
35128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
36wrote 65536/65536 bytes at offset 2097152
3764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
38wrote 196608/196608 bytes at offset 2097152
39192 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
40wrote 131072/131072 bytes at offset 2097152
41128 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
42wrote 65536/65536 bytes at offset 2424832
4364 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
44read 65536/65536 bytes at offset 2424832
4564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
46wrote 65536/65536 bytes at offset 2424832
4764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
48read 65536/65536 bytes at offset 2424832
4964 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
50
51### Launch the drive-mirror job
52
53{ 'execute': 'qmp_capabilities' }
54{"return": {}}
55{'execute': 'drive-mirror',
56                 'arguments': {'device': 'virtio0',
57                               'format': 'IMGFMT',
58                               'target': 'TEST_DIR/t.IMGFMT.3',
59                               'sync':   'full',
60                               'mode':   'existing' }}
61{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "virtio0"}}
62{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "virtio0"}}
63{"return": {}}
64{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "ready", "id": "virtio0"}}
65{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_READY", "data": {"device": "virtio0", "len": 10485760, "offset": 10485760, "speed": 0, "type": "mirror"}}
66{ 'execute': 'block-job-complete',
67       'arguments': { 'device': 'virtio0' } }
68{"return": {}}
69{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "waiting", "id": "virtio0"}}
70{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "pending", "id": "virtio0"}}
71{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "virtio0", "len": 10485760, "offset": 10485760, "speed": 0, "type": "mirror"}}
72{ 'execute': 'quit' }
73
74### Output of qemu-img map (destination image)
75
76Offset          Length          File
770x10000         0x30000         TEST_DIR/t.IMGFMT.3
780x100000        0x10000         TEST_DIR/t.IMGFMT.3
790x120000        0x20000         TEST_DIR/t.IMGFMT.3
800x200000        0x20000         TEST_DIR/t.IMGFMT.3
81*** done
82