projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6133de
)
stream: fix HMP block_job_set_speed
author
Paolo Bonzini
<pbonzini@redhat.com>
Tue, 8 May 2012 14:51:56 +0000
(16:51 +0200)
committer
Kevin Wolf
<kwolf@redhat.com>
Thu, 10 May 2012 09:01:59 +0000
(11:01 +0200)
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>
hmp.c
patch
|
blob
|
history
diff --git
a/hmp.c
b/hmp.c
index 1f9fe0e995fe993632b3a249342ccfd2db3fffd5..bb0952e00bf57594b41c03252087b4a42a7fab98 100644
(file)
--- 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);