From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51475 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLQHX-0004VU-Sq for qemu-devel@nongnu.org; Wed, 24 Nov 2010 20:05:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLQHW-0007WJ-DZ for qemu-devel@nongnu.org; Wed, 24 Nov 2010 20:05:51 -0500 Received: from [222.73.24.84] (port=51187 helo=song.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PLQHW-0007Vw-3c for qemu-devel@nongnu.org; Wed, 24 Nov 2010 20:05:50 -0500 Message-ID: <4CEDB67D.9070904@cn.fujitsu.com> Date: Thu, 25 Nov 2010 09:06:05 +0800 From: Wen Congyang MIME-Version: 1.0 References: <4CEB5406.3060300@cn.fujitsu.com> <20101123104348.5d44e89e@doriath> <20101123113159.4aab053a@doriath> <4CEC6A56.8080309@cn.fujitsu.com> <20101124154857.10657aa1@doriath> In-Reply-To: <20101124154857.10657aa1@doriath> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=UTF-8 Subject: [Qemu-devel] [PATCH v2] correct migrate_set_speed's args_type List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: armbru@redhat.com, qemu-devel 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 --- 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