The change of the argument name from value to speed was not propagated there.
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> --- hmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hmp.c b/hmp.c index eb96618..645f873 100644 --- a/hmp.c +++ b/hmp.c @@ -847,7 +847,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); -- 1.7.10.1