]> git.proxmox.com Git - qemu.git/commit - qmp-commands.hx
QMP: add snapshot-blkdev-sync command
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 11 Jul 2011 18:01:09 +0000 (20:01 +0200)
committerLuiz Capitulino <lcapitulino@gmail.com>
Thu, 21 Jul 2011 19:48:11 +0000 (16:48 -0300)
commitd967b2f14f238c24264fa73d02e9b0dde0b19506
tree5c0974fb716f4d25d28dca0f2e3a85088ded3d81
parent6c916eda22e7ef180bb2dd183bbef85f9ff006c6
QMP: add snapshot-blkdev-sync command

Add QMP bits for snapshot_blkdev command. This is the same as
snapshot_blkdev in the human monitor. The command is synchronous.

In the future async commands and or a break down of the functionality
into multiple commands might be added.

Also change the 'snapshot_file' argument to 'snapshot-file' in
the human monitor, so that it matches QMP.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@gmail.com>
blockdev.c
hmp-commands.hx
qmp-commands.hx