QMP: Add qmp command for blockdev-group-snapshot-sync
authorJeff Cody <jcody@redhat.com>
Tue, 28 Feb 2012 20:54:07 +0000 (15:54 -0500)
committerKevin Wolf <kwolf@redhat.com>
Wed, 29 Feb 2012 14:48:39 +0000 (15:48 +0100)
commitc186402c444a9598a71da6aef1360f4171e57ad3
treee38f4e6a5856e7ba29bd605139c2d73ccd2e4236
parent8802d1fdd4b73e02ce13fb3a233c64c1913634ab
QMP: Add qmp command for blockdev-group-snapshot-sync

This adds the QMP command for blockdev-group-snapshot-sync. It
takes an array in as the input, for the argument devlist.  The
array consists of the following elements:

    + device:        device to snapshot. e.g. "ide-hd0", "virtio0"
    + snapshot-file: path & file for the snapshot image. e.g. "/tmp/file.img"
    + format:        snapshot format. e.g., "qcow2". Optional

There is no HMP equivalent for the command.

Signed-off-by: Jeff Cody <jcody@redhat.com>
Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qmp-commands.hx