[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-stable] [PULL 06/15] migrate: Fix cpu-throttle-increment regressio
From: |
Juan Quintela |
Subject: |
[Qemu-stable] [PULL 06/15] migrate: Fix cpu-throttle-increment regression in HMP |
Date: |
Fri, 14 Oct 2016 17:28:14 +0200 |
From: Eric Blake <address@hidden>
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: address@hidden
Signed-off-by: Eric Blake <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
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 = true;
+ use_int_value = true;
break;
case MIGRATION_PARAMETER_TLS_CREDS:
has_tls_creds = true;
--
2.7.4