mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
migrate: remove QMP/HMP commands for speed, downtime and cache size
The generic 'migrate_set_parameters' command handle all types of param. Only the QMP commands were documented in the deprecations page, but the rationale for deprecating applies equally to HMP, and the replacements exist. Furthermore the HMP commands are just shims to the QMP commands, so removing the latter breaks the former unless they get re-implemented. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
8becb36063
commit
cbde7be900
17 changed files with 40 additions and 320 deletions
|
@ -979,51 +979,6 @@ SRST
|
|||
Pause an ongoing migration. Currently it only supports postcopy.
|
||||
ERST
|
||||
|
||||
{
|
||||
.name = "migrate_set_cache_size",
|
||||
.args_type = "value:o",
|
||||
.params = "value",
|
||||
.help = "set cache size (in bytes) for XBZRLE migrations,"
|
||||
"the cache size will be rounded down to the nearest "
|
||||
"power of 2.\n"
|
||||
"The cache size affects the number of cache misses."
|
||||
"In case of a high cache miss ratio you need to increase"
|
||||
" the cache size",
|
||||
.cmd = hmp_migrate_set_cache_size,
|
||||
},
|
||||
|
||||
SRST
|
||||
``migrate_set_cache_size`` *value*
|
||||
Set cache size to *value* (in bytes) for xbzrle migrations.
|
||||
ERST
|
||||
|
||||
{
|
||||
.name = "migrate_set_speed",
|
||||
.args_type = "value:o",
|
||||
.params = "value",
|
||||
.help = "set maximum speed (in bytes) for migrations. "
|
||||
"Defaults to MB if no size suffix is specified, ie. B/K/M/G/T",
|
||||
.cmd = hmp_migrate_set_speed,
|
||||
},
|
||||
|
||||
SRST
|
||||
``migrate_set_speed`` *value*
|
||||
Set maximum speed to *value* (in bytes) for migrations.
|
||||
ERST
|
||||
|
||||
{
|
||||
.name = "migrate_set_downtime",
|
||||
.args_type = "value:T",
|
||||
.params = "value",
|
||||
.help = "set maximum tolerated downtime (in seconds) for migrations",
|
||||
.cmd = hmp_migrate_set_downtime,
|
||||
},
|
||||
|
||||
SRST
|
||||
``migrate_set_downtime`` *second*
|
||||
Set maximum tolerated downtime (in seconds) for migration.
|
||||
ERST
|
||||
|
||||
{
|
||||
.name = "migrate_set_capability",
|
||||
.args_type = "capability:s,state:b",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue