]> git.proxmox.com Git - mirror_qemu.git/commit
migrate: move max-bandwidth and downtime-limit to migrate_set_parameter
authorAshijeet Acharya <ashijeetacharya@gmail.com>
Thu, 15 Sep 2016 16:20:28 +0000 (21:50 +0530)
committerJuan Quintela <quintela@trasno.org>
Thu, 13 Oct 2016 15:23:53 +0000 (17:23 +0200)
commit2ff30257974e19ebe2a97baad32ac29c06da5fb9
tree9c6d794ce132f7022ccd1386a8e0cb0aeb3d916d
parent9308ae54858a86f2955e0b45f74d6e1f9c38820b
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>
docs/qmp-commands.txt
hmp.c
include/migration/migration.h
migration/migration.c
qapi-schema.json