mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-03-14 14:56:05 -06:00
multifd: Add multifd-compression parameter
This will store the compression method to use. We start with none. Signed-off-by: Juan Quintela <quintela@redhat.com> Acked-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> --- Rename multifd-method to multifd-compression
This commit is contained in:
parent
8b6b68e05b
commit
96eef04238
6 changed files with 80 additions and 7 deletions
|
|
@ -488,6 +488,19 @@
|
|||
##
|
||||
{ 'command': 'query-migrate-capabilities', 'returns': ['MigrationCapabilityStatus']}
|
||||
|
||||
##
|
||||
# @MultiFDCompression:
|
||||
#
|
||||
# An enumeration of multifd compression methods.
|
||||
#
|
||||
# @none: no compression.
|
||||
#
|
||||
# Since: 5.0
|
||||
#
|
||||
##
|
||||
{ 'enum': 'MultiFDCompression',
|
||||
'data': [ 'none' ] }
|
||||
|
||||
##
|
||||
# @MigrationParameter:
|
||||
#
|
||||
|
|
@ -586,6 +599,9 @@
|
|||
# @max-cpu-throttle: maximum cpu throttle percentage.
|
||||
# Defaults to 99. (Since 3.1)
|
||||
#
|
||||
# @multifd-compression: Which compression method to use.
|
||||
# Defaults to none. (Since 5.0)
|
||||
#
|
||||
# Since: 2.4
|
||||
##
|
||||
{ 'enum': 'MigrationParameter',
|
||||
|
|
@ -598,7 +614,7 @@
|
|||
'downtime-limit', 'x-checkpoint-delay', 'block-incremental',
|
||||
'multifd-channels',
|
||||
'xbzrle-cache-size', 'max-postcopy-bandwidth',
|
||||
'max-cpu-throttle' ] }
|
||||
'max-cpu-throttle', 'multifd-compression' ] }
|
||||
|
||||
##
|
||||
# @MigrateSetParameters:
|
||||
|
|
@ -688,6 +704,9 @@
|
|||
# @max-cpu-throttle: maximum cpu throttle percentage.
|
||||
# The default value is 99. (Since 3.1)
|
||||
#
|
||||
# @multifd-compression: Which compression method to use.
|
||||
# Defaults to none. (Since 5.0)
|
||||
#
|
||||
# Since: 2.4
|
||||
##
|
||||
# TODO either fuse back into MigrationParameters, or make
|
||||
|
|
@ -713,7 +732,8 @@
|
|||
'*multifd-channels': 'int',
|
||||
'*xbzrle-cache-size': 'size',
|
||||
'*max-postcopy-bandwidth': 'size',
|
||||
'*max-cpu-throttle': 'int' } }
|
||||
'*max-cpu-throttle': 'int',
|
||||
'*multifd-compression': 'MultiFDCompression' } }
|
||||
|
||||
##
|
||||
# @migrate-set-parameters:
|
||||
|
|
@ -823,6 +843,9 @@
|
|||
# Defaults to 99.
|
||||
# (Since 3.1)
|
||||
#
|
||||
# @multifd-compression: Which compression method to use.
|
||||
# Defaults to none. (Since 5.0)
|
||||
#
|
||||
# Since: 2.4
|
||||
##
|
||||
{ 'struct': 'MigrationParameters',
|
||||
|
|
@ -846,7 +869,8 @@
|
|||
'*multifd-channels': 'uint8',
|
||||
'*xbzrle-cache-size': 'size',
|
||||
'*max-postcopy-bandwidth': 'size',
|
||||
'*max-cpu-throttle':'uint8'} }
|
||||
'*max-cpu-throttle': 'uint8',
|
||||
'*multifd-compression': 'MultiFDCompression' } }
|
||||
|
||||
##
|
||||
# @query-migrate-parameters:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue