mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
qemu-iotests: Test postcopy migration
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
This commit is contained in:
parent
69404d9e47
commit
312758e237
3 changed files with 158 additions and 0 deletions
38
tests/qemu-iotests/181.out
Normal file
38
tests/qemu-iotests/181.out
Normal file
|
@ -0,0 +1,38 @@
|
|||
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 X.Y.Z monitor - type 'help' for more information
|
||||
(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
|
Loading…
Add table
Add a link
Reference in a new issue