migrate: Fix cpu-throttle-increment regression in HMP
authorEric Blake <eblake@redhat.com>
Fri, 9 Sep 2016 03:14:14 +0000 (22:14 -0500)
committerJuan Quintela <quintela@trasno.org>
Thu, 13 Oct 2016 15:22:38 +0000 (17:22 +0200)
commitbb2b777cf9a2862fe31a40256659ff49ae3d2006
treeaf1874eac0c257cf417cbe489a2b3144886685c5
parentcd5ea070645682893312d67dba6d4dd0b1a80739
migrate: Fix cpu-throttle-increment regression in HMP

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 <eblake@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
hmp.c