[PULL 00/27] Migration next patches

peterx@redhat.com posted 27 patches 8 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240304012634.95520-1-peterx@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Peter Xu <peterx@redhat.com>, David Hildenbrand <david@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, "Daniel P. Berrangé" <berrange@redhat.com>, Fabiano Rosas <farosas@suse.de>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>
docs/devel/migration/features.rst   |   1 +
docs/devel/migration/mapped-ram.rst | 138 +++++++++
qapi/migration.json                 |  42 +--
include/exec/ramblock.h             |  13 +
include/io/channel.h                |  83 ++++++
include/migration/qemu-file-types.h |   2 +
include/qemu/bitops.h               |  13 +
migration/fd.h                      |   2 +
migration/file.h                    |   8 +
migration/multifd.h                 |  27 +-
migration/options.h                 |   1 +
migration/qemu-file.h               |   6 +
migration/ram.h                     |   1 +
io/channel-file.c                   |  69 +++++
io/channel.c                        |  58 ++++
migration/fd.c                      |  44 +++
migration/file.c                    | 149 +++++++++-
migration/migration.c               |  56 +++-
migration/multifd-zlib.c            |  26 +-
migration/multifd-zstd.c            |  26 +-
migration/multifd.c                 | 417 ++++++++++++++++++++++------
migration/options.c                 |  47 ++++
migration/qemu-file.c               | 106 +++++++
migration/ram.c                     | 351 +++++++++++++++++++++--
migration/savevm.c                  |   1 +
tests/qtest/migration-test.c        | 137 +++++++++
migration/trace-events              |   2 +-
27 files changed, 1666 insertions(+), 160 deletions(-)
create mode 100644 docs/devel/migration/mapped-ram.rst
[PULL 00/27] Migration next patches
Posted by peterx@redhat.com 8 months, 3 weeks ago
From: Peter Xu <peterx@redhat.com>

The following changes since commit c0c6a0e3528b88aaad0b9d333e295707a195587b:

  Merge tag 'migration-next-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-02-28 17:27:10 +0000)

are available in the Git repository at:

  https://gitlab.com/peterx/qemu.git tags/migration-next-pull-request

for you to fetch changes up to 1a6e217c35b6dbab10fdc1e02640b8d60b2dc663:

  migration/multifd: Document two places for mapped-ram (2024-03-04 08:31:11 +0800)

----------------------------------------------------------------
Migartion pull request for 20240304

- Bryan's fix on multifd compression level API
- Fabiano's mapped-ram series (base + multifd only)
- Steve's amend on cpr document in qapi/

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

Bryan Zhang (2):
  migration: Properly apply migration compression level parameters
  tests/migration: Set compression level in migration tests

Fabiano Rosas (20):
  migration/multifd: Cleanup multifd_recv_sync_main
  io: fsync before closing a file channel
  migration/qemu-file: add utility methods for working with seekable
    channels
  migration/ram: Introduce 'mapped-ram' migration capability
  migration: Add mapped-ram URI compatibility check
  migration/ram: Add outgoing 'mapped-ram' migration
  migration/ram: Add incoming 'mapped-ram' migration
  tests/qtest/migration: Add tests for mapped-ram file-based migration
  migration/multifd: Rename MultiFDSend|RecvParams::data to
    compress_data
  migration/multifd: Decouple recv method from pages
  migration/multifd: Allow multifd without packets
  migration/multifd: Allow receiving pages without packets
  migration/multifd: Add a wrapper for channels_created
  migration/multifd: Add outgoing QIOChannelFile support
  migration/multifd: Add incoming QIOChannelFile support
  migration/multifd: Prepare multifd sync for mapped-ram migration
  migration/multifd: Support outgoing mapped-ram stream format
  migration/multifd: Support incoming mapped-ram stream format
  migration/multifd: Add mapped-ram support to fd: URI
  tests/qtest/migration: Add a multifd + mapped-ram migration test

Nikolay Borisov (3):
  io: add and implement QIO_CHANNEL_FEATURE_SEEKABLE for channel file
  io: Add generic pwritev/preadv interface
  io: implement io_pwritev/preadv for QIOChannelFile

Peter Xu (1):
  migration/multifd: Document two places for mapped-ram

Steve Sistare (1):
  migration: massage cpr-reboot documentation

 docs/devel/migration/features.rst   |   1 +
 docs/devel/migration/mapped-ram.rst | 138 +++++++++
 qapi/migration.json                 |  42 +--
 include/exec/ramblock.h             |  13 +
 include/io/channel.h                |  83 ++++++
 include/migration/qemu-file-types.h |   2 +
 include/qemu/bitops.h               |  13 +
 migration/fd.h                      |   2 +
 migration/file.h                    |   8 +
 migration/multifd.h                 |  27 +-
 migration/options.h                 |   1 +
 migration/qemu-file.h               |   6 +
 migration/ram.h                     |   1 +
 io/channel-file.c                   |  69 +++++
 io/channel.c                        |  58 ++++
 migration/fd.c                      |  44 +++
 migration/file.c                    | 149 +++++++++-
 migration/migration.c               |  56 +++-
 migration/multifd-zlib.c            |  26 +-
 migration/multifd-zstd.c            |  26 +-
 migration/multifd.c                 | 417 ++++++++++++++++++++++------
 migration/options.c                 |  47 ++++
 migration/qemu-file.c               | 106 +++++++
 migration/ram.c                     | 351 +++++++++++++++++++++--
 migration/savevm.c                  |   1 +
 tests/qtest/migration-test.c        | 137 +++++++++
 migration/trace-events              |   2 +-
 27 files changed, 1666 insertions(+), 160 deletions(-)
 create mode 100644 docs/devel/migration/mapped-ram.rst

-- 
2.44.0
Re: [PULL 00/27] Migration next patches
Posted by Peter Maydell 8 months, 3 weeks ago
On Mon, 4 Mar 2024 at 01:26, <peterx@redhat.com> wrote:
>
> From: Peter Xu <peterx@redhat.com>
>
> The following changes since commit c0c6a0e3528b88aaad0b9d333e295707a195587b:
>
>   Merge tag 'migration-next-pull-request' of https://gitlab.com/peterx/qemu into staging (2024-02-28 17:27:10 +0000)
>
> are available in the Git repository at:
>
>   https://gitlab.com/peterx/qemu.git tags/migration-next-pull-request
>
> for you to fetch changes up to 1a6e217c35b6dbab10fdc1e02640b8d60b2dc663:
>
>   migration/multifd: Document two places for mapped-ram (2024-03-04 08:31:11 +0800)
>
> ----------------------------------------------------------------
> Migartion pull request for 20240304
>
> - Bryan's fix on multifd compression level API
> - Fabiano's mapped-ram series (base + multifd only)
> - Steve's amend on cpr document in qapi/
>
> ----------------------------------------------------------------


Applied, thanks.

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

-- PMM