summaryrefslogtreecommitdiffstats
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorStefan Hajnoczi2012-04-25 17:51:02 +0200
committerLuiz Capitulino2012-04-27 16:44:50 +0200
commit882ec7ce531091bc0f3ffc6ac71943cf383f86a6 (patch)
treeb0c24df35c4e9578facbb5a99a59c217a23283da /hmp-commands.hx
parentblock: use Error mechanism instead of -errno for block_job_set_speed() (diff)
downloadqemu-882ec7ce531091bc0f3ffc6ac71943cf383f86a6.tar.gz
qemu-882ec7ce531091bc0f3ffc6ac71943cf383f86a6.tar.xz
qemu-882ec7ce531091bc0f3ffc6ac71943cf383f86a6.zip
block: change block-job-set-speed argument from 'value' to 'speed'
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Acked-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx4
1 files changed, 2 insertions, 2 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 461fa597d4..8a929f0967 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -85,8 +85,8 @@ ETEXI
{
.name = "block_job_set_speed",
- .args_type = "device:B,value:o",
- .params = "device value",
+ .args_type = "device:B,speed:o",
+ .params = "device speed",
.help = "set maximum speed for a background block operation",
.mhandler.cmd = hmp_block_job_set_speed,
},