aboutsummaryrefslogtreecommitdiff
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2011-07-11 20:01:09 +0200
committerLuiz Capitulino <lcapitulino@gmail.com>2011-07-21 16:48:11 -0300
commitd967b2f14f238c24264fa73d02e9b0dde0b19506 (patch)
tree5c0974fb716f4d25d28dca0f2e3a85088ded3d81 /hmp-commands.hx
parent6c916eda22e7ef180bb2dd183bbef85f9ff006c6 (diff)
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>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 6ad8806785..c857827618 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -840,7 +840,7 @@ ETEXI
{
.name = "snapshot_blkdev",
- .args_type = "device:B,snapshot_file:s?,format:s?",
+ .args_type = "device:B,snapshot-file:s?,format:s?",
.params = "device [new-image-file] [format]",
.help = "initiates a live snapshot\n\t\t\t"
"of device. If a new image file is specified, the\n\t\t\t"