summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2011-02-04 09:22:14 +0100
committerKevin Wolf <kwolf@redhat.com>2011-02-11 14:33:54 +0100
commitac12a5af0bb48e2cee46232480dc5f6d8d8241b9 (patch)
treeded73e02bfe716c7000cdbff6e46474deab23a01
parentb03088c32f8a88e4674f6cdab47da79ef4188d88 (diff)
downloadqemu-ac12a5af0bb48e2cee46232480dc5f6d8d8241b9.tar.gz
Change snapshot_blkdev hmp to use correct argument type for device
Pointed out by Markus Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com> (cherry picked from commit 982aa95532a3a7b549695d5b3e18442975eecfb5)
-rw-r--r--hmp-commands.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 38e1eb7ebb..372bef4290 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -822,7 +822,7 @@ ETEXI
{
.name = "snapshot_blkdev",
- .args_type = "device:s,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"