migration/multifd: add qpl compression method
authorYuan Liu <yuan1.liu@intel.com>
Mon, 10 Jun 2024 10:21:07 +0000 (18:21 +0800)
committerFabiano Rosas <farosas@suse.de>
Fri, 14 Jun 2024 17:01:28 +0000 (14:01 -0300)
commit354cac2859e48ec5f7ee72a2a071da6c60a462d0
tree4b47ac522083cac2337e59c3d393972299df15fd
parentb844a2c7cc7f7c7756a27d372e64f6688d67c4eb
migration/multifd: add qpl compression method

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>
hw/core/qdev-properties-system.c
migration/meson.build
migration/multifd-qpl.c [new file with mode: 0644]
migration/multifd.h
qapi/migration.json