1. 07 3月, 2014 1 次提交
    • J
      block: qemu-iotests 085 - live snapshots tests · 4089f7c6
      Jeff Cody 提交于
      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: NJeff Cody <jcody@redhat.com>
      Reviewed-by: NBenoit Canet <benoit@irqsave.net>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      4089f7c6