mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -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
|
@ -1398,104 +1398,6 @@
|
|||
##
|
||||
{ 'command': 'migrate-continue', 'data': {'state': 'MigrationStatus'} }
|
||||
|
||||
##
|
||||
# @migrate_set_downtime:
|
||||
#
|
||||
# Set maximum tolerated downtime for migration.
|
||||
#
|
||||
# @value: maximum downtime in seconds
|
||||
#
|
||||
# Features:
|
||||
# @deprecated: This command is deprecated. Use
|
||||
# 'migrate-set-parameters' instead.
|
||||
#
|
||||
# Returns: nothing on success
|
||||
#
|
||||
# Since: 0.14
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "migrate_set_downtime", "arguments": { "value": 0.1 } }
|
||||
# <- { "return": {} }
|
||||
#
|
||||
##
|
||||
{ 'command': 'migrate_set_downtime', 'data': {'value': 'number'},
|
||||
'features': [ 'deprecated' ] }
|
||||
|
||||
##
|
||||
# @migrate_set_speed:
|
||||
#
|
||||
# Set maximum speed for migration.
|
||||
#
|
||||
# @value: maximum speed in bytes per second.
|
||||
#
|
||||
# Features:
|
||||
# @deprecated: This command is deprecated. Use
|
||||
# 'migrate-set-parameters' instead.
|
||||
#
|
||||
# Returns: nothing on success
|
||||
#
|
||||
# Since: 0.14
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "migrate_set_speed", "arguments": { "value": 1024 } }
|
||||
# <- { "return": {} }
|
||||
#
|
||||
##
|
||||
{ 'command': 'migrate_set_speed', 'data': {'value': 'int'},
|
||||
'features': [ 'deprecated' ] }
|
||||
|
||||
##
|
||||
# @migrate-set-cache-size:
|
||||
#
|
||||
# Set cache size to be used by XBZRLE migration
|
||||
#
|
||||
# @value: cache size in bytes
|
||||
#
|
||||
# Features:
|
||||
# @deprecated: This command is deprecated. Use
|
||||
# 'migrate-set-parameters' instead.
|
||||
#
|
||||
# The size will be rounded down to the nearest power of 2.
|
||||
# The cache size can be modified before and during ongoing migration
|
||||
#
|
||||
# Returns: nothing on success
|
||||
#
|
||||
# Since: 1.2
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "migrate-set-cache-size",
|
||||
# "arguments": { "value": 536870912 } }
|
||||
# <- { "return": {} }
|
||||
#
|
||||
##
|
||||
{ 'command': 'migrate-set-cache-size', 'data': {'value': 'int'},
|
||||
'features': [ 'deprecated' ] }
|
||||
|
||||
##
|
||||
# @query-migrate-cache-size:
|
||||
#
|
||||
# Query migration XBZRLE cache size
|
||||
#
|
||||
# Features:
|
||||
# @deprecated: This command is deprecated. Use
|
||||
# 'query-migrate-parameters' instead.
|
||||
#
|
||||
# Returns: XBZRLE cache size in bytes
|
||||
#
|
||||
# Since: 1.2
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
# -> { "execute": "query-migrate-cache-size" }
|
||||
# <- { "return": 67108864 }
|
||||
#
|
||||
##
|
||||
{ 'command': 'query-migrate-cache-size', 'returns': 'size',
|
||||
'features': [ 'deprecated' ] }
|
||||
|
||||
##
|
||||
# @migrate:
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue