mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
migration: Add migration parameters for QATzip
Adds support for migration parameters to control QATzip compression level. Acked-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Bryan Zhang <bryan.zhang@bytedance.com> Signed-off-by: Hao Xiang <hao.xiang@linux.dev> Signed-off-by: Yichen Wang <yichen.wang@bytedance.com> Reviewed-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Prasad Pandit <pjp@fedoraproject.org> Link: https://lore.kernel.org/r/20240830232722.58272-4-yichen.wang@bytedance.com Signed-off-by: Peter Xu <peterx@redhat.com>
This commit is contained in:
parent
e28ed313c2
commit
86c6eb1f39
4 changed files with 57 additions and 0 deletions
|
@ -792,6 +792,11 @@
|
|||
# speed, and 9 means best compression ratio which will consume
|
||||
# more CPU. Defaults to 1. (Since 5.0)
|
||||
#
|
||||
# @multifd-qatzip-level: Set the compression level to be used in live
|
||||
# migration. The level is an integer between 1 and 9, where 1 means
|
||||
# the best compression speed, and 9 means the best compression
|
||||
# ratio which will consume more CPU. Defaults to 1. (Since 9.2)
|
||||
#
|
||||
# @multifd-zstd-level: Set the compression level to be used in live
|
||||
# migration, the compression level is an integer between 0 and 20,
|
||||
# where 0 means no compression, 1 means the best compression
|
||||
|
@ -852,6 +857,7 @@
|
|||
'xbzrle-cache-size', 'max-postcopy-bandwidth',
|
||||
'max-cpu-throttle', 'multifd-compression',
|
||||
'multifd-zlib-level', 'multifd-zstd-level',
|
||||
'multifd-qatzip-level',
|
||||
'block-bitmap-mapping',
|
||||
{ 'name': 'x-vcpu-dirty-limit-period', 'features': ['unstable'] },
|
||||
'vcpu-dirty-limit',
|
||||
|
@ -967,6 +973,11 @@
|
|||
# speed, and 9 means best compression ratio which will consume
|
||||
# more CPU. Defaults to 1. (Since 5.0)
|
||||
#
|
||||
# @multifd-qatzip-level: Set the compression level to be used in live
|
||||
# migration. The level is an integer between 1 and 9, where 1 means
|
||||
# the best compression speed, and 9 means the best compression
|
||||
# ratio which will consume more CPU. Defaults to 1. (Since 9.2)
|
||||
#
|
||||
# @multifd-zstd-level: Set the compression level to be used in live
|
||||
# migration, the compression level is an integer between 0 and 20,
|
||||
# where 0 means no compression, 1 means the best compression
|
||||
|
@ -1040,6 +1051,7 @@
|
|||
'*max-cpu-throttle': 'uint8',
|
||||
'*multifd-compression': 'MultiFDCompression',
|
||||
'*multifd-zlib-level': 'uint8',
|
||||
'*multifd-qatzip-level': 'uint8',
|
||||
'*multifd-zstd-level': 'uint8',
|
||||
'*block-bitmap-mapping': [ 'BitmapMigrationNodeAlias' ],
|
||||
'*x-vcpu-dirty-limit-period': { 'type': 'uint64',
|
||||
|
@ -1171,6 +1183,11 @@
|
|||
# speed, and 9 means best compression ratio which will consume
|
||||
# more CPU. Defaults to 1. (Since 5.0)
|
||||
#
|
||||
# @multifd-qatzip-level: Set the compression level to be used in live
|
||||
# migration. The level is an integer between 1 and 9, where 1 means
|
||||
# the best compression speed, and 9 means the best compression
|
||||
# ratio which will consume more CPU. Defaults to 1. (Since 9.2)
|
||||
#
|
||||
# @multifd-zstd-level: Set the compression level to be used in live
|
||||
# migration, the compression level is an integer between 0 and 20,
|
||||
# where 0 means no compression, 1 means the best compression
|
||||
|
@ -1241,6 +1258,7 @@
|
|||
'*max-cpu-throttle': 'uint8',
|
||||
'*multifd-compression': 'MultiFDCompression',
|
||||
'*multifd-zlib-level': 'uint8',
|
||||
'*multifd-qatzip-level': 'uint8',
|
||||
'*multifd-zstd-level': 'uint8',
|
||||
'*block-bitmap-mapping': [ 'BitmapMigrationNodeAlias' ],
|
||||
'*x-vcpu-dirty-limit-period': { 'type': 'uint64',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue