From 2ff30257974e19ebe2a97baad32ac29c06da5fb9 Mon Sep 17 00:00:00 2001 From: Ashijeet Acharya Date: Thu, 15 Sep 2016 21:50:28 +0530 Subject: migrate: move max-bandwidth and downtime-limit to migrate_set_parameter Mark the old commands 'migrate_set_speed' and 'migrate_set_downtime' as deprecated. Move max-bandwidth and downtime-limit into migrate-set-parameters for setting maximum migration speed and expected downtime limit parameters respectively. Change downtime units to milliseconds (only for new-command) and set its upper bound limit to 2000 seconds. Update the query part in both hmp and qmp qemu control interfaces. Signed-off-by: Ashijeet Acharya Reviewed-by: Eric Blake Reviewed-by: Juan Quintela Signed-off-by: Juan Quintela --- include/migration/migration.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/migration/migration.h b/include/migration/migration.h index d4acc72..2791b90 100644 --- a/include/migration/migration.h +++ b/include/migration/migration.h @@ -129,7 +129,6 @@ struct MigrationSrcPageRequest { struct MigrationState { - int64_t bandwidth_limit; size_t bytes_xfer; size_t xfer_limit; QemuThread thread; -- cgit v1.1