mirror of
https://github.com/qemu/qemu.git
synced 2024-12-10 20:23:35 +08:00
69ff158b67
Migration capabilities should be enabled on both source and destination qemu processes. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
38 lines
954 B
Plaintext
38 lines
954 B
Plaintext
QA output created by 181
|
|
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864
|
|
|
|
=== Starting VMs ===
|
|
|
|
|
|
=== Write something on the source ===
|
|
|
|
QEMU X.Y.Z monitor - type 'help' for more information
|
|
(qemu) qemu-io disk "write -P 0x55 0 64k"
|
|
wrote 65536/65536 bytes at offset 0
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
(qemu)
|
|
(qemu) qemu-io disk "read -P 0x55 0 64k"
|
|
read 65536/65536 bytes at offset 0
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
=== Do postcopy migration to destination ===
|
|
|
|
|
|
=== Do some I/O on the destination ===
|
|
|
|
(qemu) qemu-io disk "read -P 0x55 0 64k"
|
|
read 65536/65536 bytes at offset 0
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
(qemu)
|
|
(qemu) qemu-io disk "write -P 0x66 1M 64k"
|
|
wrote 65536/65536 bytes at offset 1048576
|
|
64 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
|
|
|
|
=== Shut down and check image ===
|
|
|
|
(qemu) quit
|
|
(qemu)
|
|
(qemu) quit
|
|
No errors were found on the image.
|
|
*** done
|