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 /hw | |
parent | 2c02f88780aa611d669f73b7677aeadc1211de7e (diff) | |
download | qemu-4089f7c6a0d91020ca60ce8300784c93dd9ddcbe.zip qemu-4089f7c6a0d91020ca60ce8300784c93dd9ddcbe.tar.gz qemu-4089f7c6a0d91020ca60ce8300784c93dd9ddcbe.tar.bz2 |
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 'hw')
0 files changed, 0 insertions, 0 deletions