xref: /qemu/tests/qemu-iotests/tests/qsd-migrate.out (revision 70ce076fa6dff60585c229a4b641b13e64bf03cf)
1Preparing disk...
2Launching source QSD...
3Launching source VM...
4Launching destination QSD...
5Launching destination VM...
6
7Test I/O on the source
8{"execute": "human-monitor-command", "arguments": {"command-line": "qemu-io -d virtio0/virtio-backend \"write -P 0x11 0 4k\""}}
9{"return": ""}
10{"execute": "human-monitor-command", "arguments": {"command-line": "qemu-io -d virtio0/virtio-backend \"read -P 0x11 0 4k\""}}
11{"return": ""}
12
13Starting migration...
14{"execute": "migrate-set-capabilities", "arguments": {"capabilities": [{"capability": "events", "state": true}, {"capability": "pause-before-switchover", "state": true}]}}
15{"return": {}}
16{"execute": "migrate-set-capabilities", "arguments": {"capabilities": [{"capability": "events", "state": true}, {"capability": "pause-before-switchover", "state": true}]}}
17{"return": {}}
18{"execute": "migrate", "arguments": {"uri": "unix:SOCK_DIR/PID-migrate.sock"}}
19{"return": {}}
20
21Pre-switchover: Reconfigure QSD instances
22{"return": {}}
23{"execute": "human-monitor-command", "arguments": {"command-line": "qemu-io -d virtio0/virtio-backend \"read -P 0x11 0 4k\""}}
24{"return": ""}
25{"execute": "human-monitor-command", "arguments": {"command-line": "qemu-io -d virtio0/virtio-backend \"read 0 4k\""}}
26{"return": ""}
27{"return": {}}
28
29Completing migration...
30{"execute": "migrate-continue", "arguments": {"state": "pre-switchover"}}
31{"return": {}}
32
33Test I/O on the destination
34{"execute": "human-monitor-command", "arguments": {"command-line": "qemu-io -d virtio0/virtio-backend \"read -P 0x11 0 4k\""}}
35{"return": ""}
36{"execute": "human-monitor-command", "arguments": {"command-line": "qemu-io -d virtio0/virtio-backend \"write -P 0x22 0 4k\""}}
37{"return": ""}
38{"execute": "human-monitor-command", "arguments": {"command-line": "qemu-io -d virtio0/virtio-backend \"read -P 0x22 0 4k\""}}
39{"return": ""}
40
41Done
42
43--- vm_src log ---
44wrote 4096/4096 bytes at offset 0
454 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
46read 4096/4096 bytes at offset 0
474 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
48read 4096/4096 bytes at offset 0
494 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
50
51--- vm_dst log ---
52read 4096/4096 bytes at offset 0
534 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
54read 4096/4096 bytes at offset 0
554 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
56wrote 4096/4096 bytes at offset 0
574 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
58read 4096/4096 bytes at offset 0
594 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
60