mbox

[PULL,00/38] Migration 20231031 patches

Message ID 20231031090142.13122-1-quintela@redhat.com (mailing list archive)
State New, archived
Headers show

Pull-request

https://gitlab.com/juan.quintela/qemu.git tags/migration-20231031-pull-request

Message

Juan Quintela Oct. 31, 2023, 9:01 a.m. UTC
The following changes since commit fd9a38fd437c4c31705071c240f4be11394ca1f8:

  Merge tag 'pull-hex-20231018' of https://github.com/quic/qemu into staging (2023-10-30 13:42:29 +0900)

are available in the Git repository at:

  https://gitlab.com/juan.quintela/qemu.git tags/migration-20231031-pull-request

for you to fetch changes up to be07a0ed22cf10ede7330efbb4818f5896cd6fe3:

  qemu-file: Make qemu_fflush() return errors (2023-10-31 08:44:33 +0100)

----------------------------------------------------------------
Migration Pull request (20231031)

Hi

This is repeat of the Migration PULL for 20231020.
- I removed vmstate_register(big problems with s390x)
- I added yet more countes (juan)

CI: https://gitlab.com/juan.quintela/qemu/-/pipelines/1055797950

Please apply.

Thanks, Juan.

----------------------------------------------------------------

Juan Quintela (34):
  migration/doc: Add contents
  migration/doc: Add documentation for backwards compatiblity
  migration/doc: How to migrate when hosts have different features
  migration/doc: We broke backwards compatibility
  migration: Receiving a zero page non zero is an error
  migration: Rename ram_handle_compressed() to ram_handle_zero()
  migration: Give one error if trying to set MULTIFD and XBZRLE
  migration: Give one error if trying to set COMPRESSION and XBZRLE
  migration: Remove save_page_use_compression()
  migration: Make compress_data_with_multithreads return bool
  migration: Simplify compress_page_with_multithread()
  migration: Move busy++ to migrate_with_multithread
  migration: Create compress_update_rates()
  migration: Export send_queued_data()
  migration: Move ram_flush_compressed_data() to ram-compress.c
  migration: Merge flush_compressed_data() and compress_flush_data()
  migration: Rename ram_compressed_pages() to compress_ram_pages()
  qemu-iotests: Filter warnings about block migration being deprecated
  migration: migrate 'inc' command option is deprecated.
  migration: migrate 'blk' command option is deprecated.
  migration: Deprecate block migration
  migration: Deprecate old compression method
  qemu-file: Don't increment qemu_file_transferred at
    qemu_file_fill_buffer
  qemu_file: Use a stat64 for qemu_file_transferred
  qemu_file: total_transferred is not used anymore
  migration: Use the number of transferred bytes directly
  qemu_file: Remove unused qemu_file_transferred()
  qemu-file: Remove _noflush from qemu_file_transferred_noflush()
  migration: migration_transferred_bytes() don't need the QEMUFile
  migration: migration_rate_limit_reset() don't need the QEMUFile
  qemu-file: Simplify qemu_file_get_error()
  migration: Use migration_transferred_bytes()
  migration: Remove transferred atomic counter
  qemu-file: Make qemu_fflush() return errors

Marc-André Lureau (2):
  migration: rename vmstate_save_needed->vmstate_section_needed
  migration: set file error on subsection loading

Peter Xu (1):
  migration: Stop migration immediately in RDMA error paths

Thomas Huth (1):
  migration/ram: Fix compilation with -Wshadow=local

 docs/about/deprecated.rst        |  35 +++
 docs/devel/migration.rst         | 520 +++++++++++++++++++++++++++++++
 qapi/migration.json              |  93 ++++--
 include/migration/vmstate.h      |   2 +-
 migration/migration-stats.h      |  16 +-
 migration/qemu-file.h            |  27 +-
 migration/ram-compress.h         |  10 +-
 migration/ram.h                  |   3 +-
 migration/block.c                |   7 +-
 migration/colo.c                 |  11 +-
 migration/migration-hmp-cmds.c   |  10 +
 migration/migration-stats.c      |  10 +-
 migration/migration.c            |  27 +-
 migration/multifd.c              |   3 -
 migration/options.c              |  36 ++-
 migration/qemu-file.c            |  43 +--
 migration/ram-compress.c         | 112 +++++--
 migration/ram.c                  | 150 +++------
 migration/rdma.c                 |  12 +-
 migration/savevm.c               |  11 +-
 migration/vmstate.c              |   9 +-
 tests/qemu-iotests/183           |   2 +-
 tests/qemu-iotests/common.filter |   7 +
 23 files changed, 880 insertions(+), 276 deletions(-)

Comments

Stefan Hajnoczi Oct. 31, 2023, 11:31 p.m. UTC | #1
Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/8.2 for any user-visible changes.