Am 01.03.2014 um 03:08 hat Jeff Cody geschrieben: > 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 <jc...@redhat.com>
Thanks, applied to the block branch. I wonder if we should create a common.qmp file to be included in shell based test cases that want to access the monitor. Kevin