From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bv4Pg-0007K6-Oa for qemu-devel@nongnu.org; Fri, 14 Oct 2016 11:28:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bv4Pb-0008HR-Jg for qemu-devel@nongnu.org; Fri, 14 Oct 2016 11:28:47 -0400 From: Juan Quintela Date: Fri, 14 Oct 2016 17:28:14 +0200 Message-Id: <1476458903-7888-7-git-send-email-quintela@redhat.com> In-Reply-To: <1476458903-7888-1-git-send-email-quintela@redhat.com> References: <1476458903-7888-1-git-send-email-quintela@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 06/15] 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: amit.shah@redhat.com, dgilbert@redhat.com, Eric Blake , qemu-stable@nongnu.org From: Eric Blake 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 Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: Juan Quintela Signed-off-by: Juan Quintela --- hmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hmp.c b/hmp.c index 42bef84..9509596 100644 --- a/hmp.c +++ b/hmp.c @@ -1351,6 +1351,7 @@ void hmp_migrate_set_parameter(Monitor *mon, const = QDict *qdict) break; case MIGRATION_PARAMETER_CPU_THROTTLE_INCREMENT: has_cpu_throttle_increment =3D true; + use_int_value =3D true; break; case MIGRATION_PARAMETER_TLS_CREDS: has_tls_creds =3D true; --=20 2.7.4