aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/091.out
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2014-04-30 10:55:10 -0400
committerStefan Hajnoczi <stefanha@redhat.com>2014-05-09 20:57:32 +0200
commitfd040174ac7c302365c1d6dc5646f957972d67d6 (patch)
tree403c44a48d1179db80b8dcf280c44a658e5d6aca /tests/qemu-iotests/091.out
parente86e8697708ada85ce4b8f9df00342912f7ca14c (diff)
downloadqemu-fd040174ac7c302365c1d6dc5646f957972d67d6.zip
qemu-fd040174ac7c302365c1d6dc5646f957972d67d6.tar.gz
qemu-fd040174ac7c302365c1d6dc5646f957972d67d6.tar.bz2
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>
Diffstat (limited to 'tests/qemu-iotests/091.out')
-rw-r--r--tests/qemu-iotests/091.out28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/qemu-iotests/091.out b/tests/qemu-iotests/091.out
new file mode 100644
index 0000000..a2e0122
--- /dev/null
+++ b/tests/qemu-iotests/091.out
@@ -0,0 +1,28 @@
+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