Change snapshot_blkdev hmp to use correct argument type for device
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 4 Feb 2011 08:22:14 +0000 (09:22 +0100)
committerKevin Wolf <kwolf@redhat.com>
Thu, 10 Feb 2011 12:23:43 +0000 (13:23 +0100)
Pointed out by Markus

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hmp-commands.hx

index 38e1eb7ebbc84521fc0d724e97f6e6758276fa26..372bef42902054c08e1f4d4c019f42d9449bb1df 100644 (file)
@@ -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"