From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51498 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKlcw-0005GF-3g for qemu-devel@nongnu.org; Tue, 23 Nov 2010 00:41:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKlcr-0006xu-DH for qemu-devel@nongnu.org; Tue, 23 Nov 2010 00:41:13 -0500 Received: from [222.73.24.84] (port=50850 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKlcr-0006xT-3p for qemu-devel@nongnu.org; Tue, 23 Nov 2010 00:41:09 -0500 Message-ID: <4CEB5406.3060300@cn.fujitsu.com> Date: Tue, 23 Nov 2010 13:41:26 +0800 From: Wen Congyang MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=GB2312 Subject: [Qemu-devel] [PATCH] correct migrate_set_speed's args_type List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Luiz Capitulino 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. Signed-off-by: Wen Congyang --- qmp-commands.hx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qmp-commands.hx b/qmp-commands.hx index 793cf1c..16bdb08 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, -- 1.7.1