mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
9308ae5485
commit
2ff3025797
5 changed files with 107 additions and 40 deletions
|
@ -2910,7 +2910,9 @@ Set migration parameters
|
|||
throttled for auto-converge (json-int)
|
||||
- "cpu-throttle-increment": set throttle increasing percentage for
|
||||
auto-converge (json-int)
|
||||
|
||||
- "max-bandwidth": set maximum speed for migrations (in bytes/sec) (json-int)
|
||||
- "downtime-limit": set maximum tolerated downtime (in milliseconds) for
|
||||
migrations (json-int)
|
||||
Arguments:
|
||||
|
||||
Example:
|
||||
|
@ -2931,7 +2933,10 @@ Query current migration parameters
|
|||
throttled (json-int)
|
||||
- "cpu-throttle-increment" : throttle increasing percentage for
|
||||
auto-converge (json-int)
|
||||
|
||||
- "max-bandwidth" : maximium migration speed in bytes per second
|
||||
(json-int)
|
||||
- "downtime-limit" : maximum tolerated downtime of migration in
|
||||
milliseconds (json-int)
|
||||
Arguments:
|
||||
|
||||
Example:
|
||||
|
@ -2943,7 +2948,9 @@ Example:
|
|||
"cpu-throttle-increment": 10,
|
||||
"compress-threads": 8,
|
||||
"compress-level": 1,
|
||||
"cpu-throttle-initial": 20
|
||||
"cpu-throttle-initial": 20,
|
||||
"max-bandwidth": 33554432,
|
||||
"downtime-limit": 300
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue