Received: from [140.186.70.92] (port=53742 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPcIZ-0003br-8d for qemu-devel@nongnu.org; Mon, 06 Dec 2010 09:44:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPcIX-00058k-Qg for qemu-devel@nongnu.org; Mon, 06 Dec 2010 09:44:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:1027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPcIX-00058T-Jl for qemu-devel@nongnu.org; Mon, 06 Dec 2010 09:44:13 -0500 From: Luiz Capitulino Date: Mon, 6 Dec 2010 12:43:51 -0200 Message-Id: <1291646631-4609-5-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1291646631-4609-1-git-send-email-lcapitulino@redhat.com> References: <1291646631-4609-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PATCH 4/4] correct migrate_set_speed's args_type List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: anthony@codemonkey.ws Cc: qemu-devel@nongnu.org, Wen Congyang From: Wen Congyang 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 --- qmp-commands.hx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qmp-commands.hx b/qmp-commands.hx index e5f157f..3486223 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.3.3.398.g0b0cd