Adds an integration test for 'qatzip'.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
---
Revision: This commit now does some parameter setting to test that
changing the 'multifd-qatzip-level' parameter works, and to enable
software fallback so that the QATzip test ca
Uses QAT to offload deflate compression and decompression in the
'qatzip' compression method for multifd migration.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
---
migration/multifd-qatzip.c | 331 +
1 file changed, 298 insertions(+), 33
ompression.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
---
hw/core/qdev-properties-system.c | 6 +-
migration/meson.build| 1 +
migration/multifd-qatzip.c | 117 +++
migration/multifd.h | 1 +
qapi/migration.json
Add a 'qatzip' feature, which is automatically disabled, and which
depends on the QATzip library if enabled.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
---
meson.build | 10 ++
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh |
Adds support for migration parameters to control QATzip compression
level and to enable/disable software fallback when QAT hardware is
unavailable. This is a preparatory commit for a subsequent commit that
will actually use QATzip compression.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
From: Bryan Zhang
Some glue code was missing, so that using `qmp_migrate_set_parameters`
to set `multifd-zstd-level` or `multifd-zlib-level` did not work. This
commit adds the glue code to fix that.
Signed-off-by: Bryan Zhang
---
migration/options.c | 12
1 file changed, 12
From: Bryan Zhang
Adds calls to set compression level for `zstd` and `zlib` migration
tests, just to make sure that the calls work.
Signed-off-by: Bryan Zhang
---
tests/qtest/migration-test.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/tests/qtest/migration-test.c b/tests
From: Bryan Zhang
There is some glue code missing, such that the
`qmp_migrate_set_parameters` function does not properly update the
`multifd_zstd_level` and `multifd_zlib_level` parameters. This patch
adds the glue code and also adds some function calls to the existing
migration tests to make
On Mon, Jan 29, 2024 at 12:53 AM Peter Xu wrote:
> On Sun, Dec 31, 2023 at 08:58:04PM +0000, Bryan Zhang wrote:
> > Adds an integration test for 'qatzip'.
>
> Please use "tests" as prefix of this patch. It can be "tests/migration:",
> "test
Uses QAT to offload deflate compression in the 'qatzip' compression
method for multifd migration.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
---
migration/multifd-qatzip.c | 314 +++--
1 file changed, 301 insertions(+), 13 deletions(-)
di
Adds support for a parameter to specify QATzip compression level. This
is a preparatory commit for a subsequent commit that will actually use
QATzip compression.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
---
migration/migration-hmp-cmds.c | 4
migration/options.c
Adds an integration test for 'qatzip'.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
---
tests/qtest/meson.build | 4
tests/qtest/migration-test.c | 37
2 files changed, 41 insertions(+)
diff --git a/tests/qtest/meson.build b/t
ompression.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
---
hw/core/qdev-properties-system.c | 6 ++-
migration/meson.build| 1 +
migration/multifd-qatzip.c | 81
migration/multifd.h | 1 +
qapi/migration.json | 5 +
Add a 'qatzip' feature, which is automatically disabled, and which
depends on the QATzip library if enabled.
Signed-off-by: Bryan Zhang
Signed-off-by: Hao Xiang
---
meson.build | 10 ++
meson_options.txt | 2 ++
scripts/meson-buildoptions.sh |
14 matches
Mail list logo