qemu-patch-raspberry4/tests/qemu-iotests/091.out
Jeff Cody fd040174ac block: qemu-iotests - test for live migration
This is an initial, simple live migration test from one
running VM to another, using monitor commands.

This is also an example of using the new common.qemu functions
for controlling multiple running qemu instances, for tests that
need a live qemu vm.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-05-09 20:57:32 +02:00

29 lines
728 B
Plaintext

QA output created by 091
Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824
=== Starting QEMU VM1 ===
=== Starting QEMU VM2 ===
=== VM 1: Migrate from VM1 to VM2 ===
vm1: qemu-io disk write complete
vm1: live migration started
vm1: live migration completed
=== VM 2: Post-migration, write to disk, verify running ===
vm2: qemu-io disk write complete
vm2: qemu process running successfully
vm2: flush io, and quit
Check image pattern
read 4194304/4194304 bytes at offset 0
4 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec)
Running 'qemu-img check -r all $TEST_IMG'
No errors were found on the image.
80/16384 = 0.49% allocated, 0.00% fragmented, 0.00% compressed clusters
Image end offset: 5570560
*** done