xref: /qemu/tests/qemu-iotests/183.out (revision abff1abf)
1QA output created by 183
2Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
3Formatting 'TEST_DIR/t.IMGFMT.dest', fmt=IMGFMT size=67108864
4
5=== Starting VMs ===
6
7{ 'execute': 'qmp_capabilities' }
8{"return": {}}
9{ 'execute': 'qmp_capabilities' }
10{"return": {}}
11
12=== Write something on the source ===
13
14{ 'execute': 'human-monitor-command', 'arguments': { 'command-line': 'qemu-io disk "write -P 0x55 0 64k"' } }
15wrote 65536/65536 bytes at offset 0
1664 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
17{"return": ""}
18{ 'execute': 'human-monitor-command', 'arguments': { 'command-line': 'qemu-io disk "read -P 0x55 0 64k"' } }
19read 65536/65536 bytes at offset 0
2064 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
21{"return": ""}
22
23=== Do block migration to destination ===
24
25{ 'execute': 'migrate', 'arguments': { 'uri': 'unix:SOCK_DIR/migrate', 'blk': true } }
26{"return": {}}
27{ 'execute': 'query-status' }
28{"return": {"status": "postmigrate", "singlestep": false, "running": false}}
29
30=== Do some I/O on the destination ===
31
32{ 'execute': 'query-status' }
33{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "RESUME"}
34{"return": {"status": "running", "singlestep": false, "running": true}}
35{ 'execute': 'human-monitor-command', 'arguments': { 'command-line': 'qemu-io disk "read -P 0x55 0 64k"' } }
36read 65536/65536 bytes at offset 0
3764 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
38{"return": ""}
39{ 'execute': 'human-monitor-command', 'arguments': { 'command-line': 'qemu-io disk "write -P 0x66 1M 64k"' } }
40wrote 65536/65536 bytes at offset 1048576
4164 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
42{"return": ""}
43
44=== Shut down and check image ===
45
46{"execute":"quit"}
47{"return": {}}
48{"execute":"quit"}
49{"return": {}}
50{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
51{"timestamp": {"seconds":  TIMESTAMP, "microseconds":  TIMESTAMP}, "event": "SHUTDOWN", "data": {"guest": false, "reason": "host-qmp-quit"}}
52No errors were found on the image.
53No errors were found on the image.
54wrote 65536/65536 bytes at offset 1048576
5564 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
56Images are identical.
57*** done
58