mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00

add the Query Processing Library (QPL) compression method Introduce the qpl as a new multifd migration compression method, it can use In-Memory Analytics Accelerator(IAA) to accelerate compression and decompression, which can not only reduce network bandwidth requirement but also reduce host compression and decompression CPU overhead. How to enable qpl compression during migration: migrate_set_parameter multifd-compression qpl There is no qpl compression level parameter added since it only supports level one, users do not need to specify the qpl compression level. Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Reviewed-by: Nanhai Zou <nanhai.zou@intel.com> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Fabiano Rosas <farosas@suse.de> [fixed docs spacing in migration.json] Signed-off-by: Fabiano Rosas <farosas@suse.de>
46 lines
995 B
Meson
46 lines
995 B
Meson
# Files needed by unit tests
|
|
migration_files = files(
|
|
'migration-stats.c',
|
|
'page_cache.c',
|
|
'xbzrle.c',
|
|
'vmstate-types.c',
|
|
'vmstate.c',
|
|
'qemu-file.c',
|
|
'yank_functions.c',
|
|
)
|
|
|
|
system_ss.add(files(
|
|
'block-dirty-bitmap.c',
|
|
'channel.c',
|
|
'channel-block.c',
|
|
'dirtyrate.c',
|
|
'exec.c',
|
|
'fd.c',
|
|
'file.c',
|
|
'global_state.c',
|
|
'migration-hmp-cmds.c',
|
|
'migration.c',
|
|
'multifd.c',
|
|
'multifd-zlib.c',
|
|
'multifd-zero-page.c',
|
|
'options.c',
|
|
'postcopy-ram.c',
|
|
'savevm.c',
|
|
'socket.c',
|
|
'tls.c',
|
|
'threadinfo.c',
|
|
), gnutls, zlib)
|
|
|
|
if get_option('replication').allowed()
|
|
system_ss.add(files('colo-failover.c', 'colo.c'))
|
|
else
|
|
system_ss.add(files('colo-stubs.c'))
|
|
endif
|
|
|
|
system_ss.add(when: rdma, if_true: files('rdma.c'))
|
|
system_ss.add(when: zstd, if_true: files('multifd-zstd.c'))
|
|
system_ss.add(when: qpl, if_true: files('multifd-qpl.c'))
|
|
|
|
specific_ss.add(when: 'CONFIG_SYSTEM_ONLY',
|
|
if_true: files('ram.c',
|
|
'target.c'))
|