qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 00/18] Migration compression cleanup


From: Juan Quintela
Subject: [PATCH 00/18] Migration compression cleanup
Date: Tue, 13 Jun 2023 16:57:39 +0200

Hi

On this series:

- We got errors when setting incompatible migration methods
  (i.e. compression and RDMA)

- Remove the posibility of running COMPRESSION and XBZRLE together
  (remember that compression don't work)

- This series is the preliminar work to be able to compile out
  compression (almost there, but wanted to get this first)

- Move everyting that touches compression_counters to ram-compress.c

- simplify pass of block/file parameter.  We can get them trough the
  pss.

Please, review.

Juan Quintela (18):
  migration: Give one error if trying to set MULTIFD and XBZRLE
  migration: Give one error if trying to set COMPRESSION and XBZRLE
  migration: RDMA is not compatible with anything else
  migration: Remove save_page_use_compression()
  migration: Move compression_counters cleanup ram-compress.c
  migration: Create populate_compress()
  migration: Create ram_compressed_pages()
  migration: Move update_compress_threads_counts() to ram-compress.c
  migration: Make compress_data_with_multithreads return bool
  migration: Simplify compress_page_with_multithread()
  migration: Move busy++ to migrate_with_multithread
  migration: Create compression_update_rates()
  migration: Simplify decompress_data_with_multi_threads()
  migration: Use "i" as an for index in ram-compress.c
  migration: save_compress_page() can take block through pss
  migration: control_save_page() can take block through pss
  migration: Remove not needed block parameter for save_zero_page*
  migration: Remove not needed file parameter for save_zero_page*

 migration/ram-compress.h |  10 +-
 migration/ram.h          |   1 -
 migration/migration.c    |  27 +++---
 migration/options.c      |  14 +++
 migration/ram-compress.c | 198 +++++++++++++++++++++++++++------------
 migration/ram.c          | 121 +++++-------------------
 migration/savevm.c       |   1 -
 7 files changed, 198 insertions(+), 174 deletions(-)

-- 
2.40.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]