From: Wen Congyang Date: Thu, 25 Nov 2010 01:06:05 +0000 (+0800) Subject: correct migrate_set_speed's args_type X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3a019b6e6ad64e4df452a15dced6c954e45246c4;p=qemu-xen-4.1-testing.git 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 Signed-off-by: Luiz Capitulino --- diff --git a/qmp-commands.hx b/qmp-commands.hx index e5f157fe1..348622351 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,