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