diff options
author | Jeff Cody <jcody@redhat.com> | 2014-02-28 21:08:11 -0500 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-03-07 11:36:12 +0100 |
commit | 4089f7c6a0d91020ca60ce8300784c93dd9ddcbe (patch) | |
tree | e1d829cd1959dead80ca44f02e62889dd7e54588 /tests/qemu-iotests/group | |
parent | 2c02f88780aa611d669f73b7677aeadc1211de7e (diff) |
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/group | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemu-iotests/group b/tests/qemu-iotests/group index 9ec62d2e44..e96eafdf43 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 |