aboutsummaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorWen Congyang <wency@cn.fujitsu.com>2010-11-25 09:06:05 +0800
committerLuiz Capitulino <lcapitulino@redhat.com>2010-12-06 09:51:41 -0200
commit3a019b6e6ad64e4df452a15dced6c954e45246c4 (patch)
treeffe45be62212da91a6b4dfda4e3fa8b8142856f8 /qmp-commands.hx
parent83a27d4d1c7e6179bd6e5e8bfa505f62c402e999 (diff)
correct migrate_set_speed's args_type
The args_type of migrate_set_speed in qmp-commands.hx is wrong. When we set migrate speed by json, qemu will be core dumped. This bug was caused by 07de3e60b05 and hence affects master only. Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r--qmp-commands.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index e5f157fe10..3486223517 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -495,7 +495,7 @@ EQMP
{
.name = "migrate_set_speed",
- .args_type = "value:f",
+ .args_type = "value:o",
.params = "value",
.help = "set maximum speed (in bytes) for migrations",
.user_print = monitor_user_noop,