summary refs log tree commit diff stats
path: root/include/migration/migration.h
diff options
context:
space:
mode:
authorAshijeet Acharya <ashijeetacharya@gmail.com>2016-09-15 21:50:28 +0530
committerJuan Quintela <quintela@trasno.org>2016-10-13 17:23:53 +0200
commit2ff30257974e19ebe2a97baad32ac29c06da5fb9 (patch)
tree9c6d794ce132f7022ccd1386a8e0cb0aeb3d916d /include/migration/migration.h
parent9308ae54858a86f2955e0b45f74d6e1f9c38820b (diff)
downloadfocaccia-qemu-2ff30257974e19ebe2a97baad32ac29c06da5fb9.tar.gz
focaccia-qemu-2ff30257974e19ebe2a97baad32ac29c06da5fb9.zip
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 <ashijeetacharya@gmail.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/migration/migration.h')
-rw-r--r--include/migration/migration.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h
index d4acc72b85..2791b90c00 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;