[PATCH 0/3] qemu: migration: implement zstd compression

Oleg Vasilev posted 3 patches 1 year ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20230418084450.486595-1-oleg.vasilev@virtuozzo.com
include/libvirt/libvirt-domain.h   | 10 ++++
src/qemu/qemu_migration.h          |  1 +
src/qemu/qemu_migration_params.c   | 79 +++++++++++++++++---------
src/qemu/qemu_migration_params.h   |  7 +++
tests/qemumigparamsdata/zstd.json  |  4 ++
tests/qemumigparamsdata/zstd.reply |  7 +++
tests/qemumigparamsdata/zstd.xml   |  6 ++
tests/qemumigparamstest.c          | 90 +++++++++++++++++++++++++++---
tools/virsh-completer-domain.c     |  2 +-
tools/virsh-domain.c               | 14 +++++
10 files changed, 187 insertions(+), 33 deletions(-)
create mode 100644 tests/qemumigparamsdata/zstd.json
create mode 100644 tests/qemumigparamsdata/zstd.reply
create mode 100644 tests/qemumigparamsdata/zstd.xml
[PATCH 0/3] qemu: migration: implement zstd compression
Posted by Oleg Vasilev 1 year ago
QEMU now supports multifd-compression=zstd for migration with enabled multifd.
Bring the support to libvirt as well.

Claudio Fontana (1):
  qemu: migration: expose qemuMigrationParamsSetString

Oleg Vasilev (2):
  qemu: migration: implement zstd compression
  tests: qemumigparams: test for zstd compression

 include/libvirt/libvirt-domain.h   | 10 ++++
 src/qemu/qemu_migration.h          |  1 +
 src/qemu/qemu_migration_params.c   | 79 +++++++++++++++++---------
 src/qemu/qemu_migration_params.h   |  7 +++
 tests/qemumigparamsdata/zstd.json  |  4 ++
 tests/qemumigparamsdata/zstd.reply |  7 +++
 tests/qemumigparamsdata/zstd.xml   |  6 ++
 tests/qemumigparamstest.c          | 90 +++++++++++++++++++++++++++---
 tools/virsh-completer-domain.c     |  2 +-
 tools/virsh-domain.c               | 14 +++++
 10 files changed, 187 insertions(+), 33 deletions(-)
 create mode 100644 tests/qemumigparamsdata/zstd.json
 create mode 100644 tests/qemumigparamsdata/zstd.reply
 create mode 100644 tests/qemumigparamsdata/zstd.xml

-- 
2.40.0
Re: [PATCH 0/3] qemu: migration: implement zstd compression
Posted by Jiri Denemark 1 year ago
On Tue, Apr 18, 2023 at 14:44:47 +0600, Oleg Vasilev wrote:
> QEMU now supports multifd-compression=zstd for migration with enabled multifd.
> Bring the support to libvirt as well.

There is an earlier series implementing this functionality (with zlib as
well): [PATCH V3 0/3] migration: add qemu parallel migration options

I just forgot to review the last version of it... I did it now.

Jirka