From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biCH9-00040C-M0 for qemu-devel@nongnu.org; Thu, 08 Sep 2016 23:14:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biCH4-0004vp-Kk for qemu-devel@nongnu.org; Thu, 08 Sep 2016 23:14:47 -0400 From: Eric Blake Date: Thu, 8 Sep 2016 22:14:14 -0500 Message-Id: <1473390856-4502-2-git-send-email-eblake@redhat.com> In-Reply-To: <1473390856-4502-1-git-send-email-eblake@redhat.com> References: <1473390856-4502-1-git-send-email-eblake@redhat.com> Subject: [Qemu-devel] [PATCH 1/3] migrate: Fix cpu-throttle-increment regression in HMP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: quintela@redhat.com, ashijeetacharya@gmail.com, qemu-stable@nongnu.org, Luiz Capitulino Commit 69ef1f3 accidentally broke migrate_set_parameter's ability to set the cpu-throttle-increment to anything other than the default, because it forgot to parse the user's string into an integer. CC: qemu-stable@nongnu.org Signed-off-by: Eric Blake --- hmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hmp.c b/hmp.c index ad33b44..d6c6c01 100644 --- a/hmp.c +++ b/hmp.c @@ -1286,6 +1286,7 @@ void hmp_migrate_set_parameter(Monitor *mon, const QDict *qdict) break; case MIGRATION_PARAMETER_CPU_THROTTLE_INCREMENT: has_cpu_throttle_increment = true; + use_int_value = true; break; case MIGRATION_PARAMETER_TLS_CREDS: has_tls_creds = true; -- 2.7.4