xref: /openbmc/qemu/tests/qemu-iotests/185.out (revision 4c4465ff)
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 } }
92Formatting 'TEST_DIR/t.qcow2.copy', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=67108864 lazy_refcounts=off refcount_bits=16
93{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}}
94{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}}
95{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "paused", "id": "disk"}}
96{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}}
97{"return": {}}
98{ 'execute': 'quit' }
99{"return": {}}
100{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
101{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 67108864, "offset": 65536, "speed": 65536, "type": "backup"}}
102
103=== Start streaming job and exit qemu ===
104
105{ 'execute': 'qmp_capabilities' }
106{"return": {}}
107{ 'execute': 'block-stream',
108       'arguments': { 'device': 'disk',
109                      'speed': 65536 } }
110{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "created", "id": "disk"}}
111{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "JOB_STATUS_CHANGE", "data": {"status": "running", "id": "disk"}}
112{"return": {}}
113{ 'execute': 'quit' }
114{"return": {}}
115{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
116{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "BLOCK_JOB_CANCELLED", "data": {"device": "disk", "len": 67108864, "offset": 524288, "speed": 65536, "type": "stream"}}
117No errors were found on the image.
118*** done
119