summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests/group
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2014-02-28 21:08:11 -0500
committerKevin Wolf <kwolf@redhat.com>2014-03-07 11:36:12 +0100
commit4089f7c6a0d91020ca60ce8300784c93dd9ddcbe (patch)
treee1d829cd1959dead80ca44f02e62889dd7e54588 /tests/qemu-iotests/group
parent2c02f88780aa611d669f73b7677aeadc1211de7e (diff)
downloadhqemu-4089f7c6a0d91020ca60ce8300784c93dd9ddcbe.zip
hqemu-4089f7c6a0d91020ca60ce8300784c93dd9ddcbe.tar.gz
block: qemu-iotests 085 - live snapshots tests
This adds tests for live snapshots, both through the single snapshot command, and the transaction group snapshot command. The snapshots are done through the QMP interface, using the following commands for snapshots: Single snapshot: { 'execute': 'blockdev-snapshot-sync', 'arguments': { 'device': 'virtio0', 'snapshot-file':'...', 'format': 'qcow2' } }" Group snapshot: { 'execute': 'transaction', 'arguments': {'actions': [ { 'type': 'blockdev-snapshot-sync', 'data' : { 'device': 'virtio0', 'snapshot-file': '...' } }, { 'type': 'blockdev-snapshot-sync', 'data' : { 'device': 'virtio1', 'snapshot-file': '...' } } ] } } Signed-off-by: Jeff Cody <jcody@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/group')
-rw-r--r--tests/qemu-iotests/group1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group
index 9ec62d2..e96eafd 100644
--- a/tests/qemu-iotests/group
+++ b/tests/qemu-iotests/group
@@ -85,5 +85,6 @@
079 rw auto
081 rw auto
082 rw auto quick
+085 rw auto quick
086 rw auto quick
087 rw auto quick
OpenPOWER on IntegriCloud