aboutsummaryrefslogtreecommitdiff
path: root/hmp.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-05-08 16:51:56 +0200
committerKevin Wolf <kwolf@redhat.com>2012-05-10 11:01:59 +0200
commitc6db23958bdbeaba6877a0b16d9977b6b09f8744 (patch)
tree80ebeaab41abf5c0c4fb28b176bc978b1dcecd2c /hmp.c
parentf6133def92a3575c9abf57d066108df53e67629e (diff)
downloadqemu-c6db23958bdbeaba6877a0b16d9977b6b09f8744.zip
qemu-c6db23958bdbeaba6877a0b16d9977b6b09f8744.tar.gz
qemu-c6db23958bdbeaba6877a0b16d9977b6b09f8744.tar.bz2
stream: fix HMP block_job_set_speed
The change of the argument name from value to speed was not propagated there. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r--hmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hmp.c b/hmp.c
index 1f9fe0e..bb0952e 100644
--- a/hmp.c
+++ b/hmp.c
@@ -849,7 +849,7 @@ void hmp_block_job_set_speed(Monitor *mon, const QDict *qdict)
{
Error *error = NULL;
const char *device = qdict_get_str(qdict, "device");
- int64_t value = qdict_get_int(qdict, "value");
+ int64_t value = qdict_get_int(qdict, "speed");
qmp_block_job_set_speed(device, value, &error);