[PULL 00/27] migration queue

Dr. David Alan Gilbert (git) posted 27 patches 4 years, 9 months ago
Test checkpatch passed
Failed in applying to current master (apply log)
There is a newer version of this series
block/monitor/block-hmp-cmds.c |   7 +-
block/snapshot.c               | 256 ++++++++++++++++++--------
hw/ppc/spapr_pci.c             |  11 ++
include/block/snapshot.h       |  23 ++-
include/exec/memory.h          |   8 +
include/migration/snapshot.h   |  47 ++++-
include/qemu/userfaultfd.h     |  35 ++++
migration/migration.c          | 409 +++++++++++++++++++++++++++++++++++++++--
migration/migration.h          |   6 +-
migration/page_cache.c         |   8 +-
migration/page_cache.h         |   2 +-
migration/qemu-file.c          |   2 +-
migration/ram.c                | 307 ++++++++++++++++++++++++++++++-
migration/ram.h                |   8 +-
migration/savevm.c             | 341 +++++++++++++++++++++++++++++-----
migration/savevm.h             |   3 +
migration/trace-events         |   2 +
monitor/hmp-cmds.c             |  45 +++--
qapi/job.json                  |   9 +-
qapi/migration.json            | 218 ++++++++++++++++++++--
replay/replay-debugging.c      |  12 +-
replay/replay-snapshot.c       |   5 +-
scripts/userfaultfd-wrlat.py   | 122 ++++++++++++
softmmu/vl.c                   |   2 +-
tests/qemu-iotests/267.out     |  12 +-
tests/qemu-iotests/common.qemu | 106 ++++++++++-
tests/qemu-iotests/common.rc   |  10 +-
util/meson.build               |   1 +
util/trace-events              |   9 +
util/userfaultfd.c             | 345 ++++++++++++++++++++++++++++++++++
30 files changed, 2145 insertions(+), 226 deletions(-)
create mode 100644 include/qemu/userfaultfd.h
create mode 100755 scripts/userfaultfd-wrlat.py
create mode 100644 util/userfaultfd.c
[PULL 00/27] migration queue
Posted by Dr. David Alan Gilbert (git) 4 years, 9 months ago
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>

The following changes since commit 2766043345748626490e04d69b7a9493c0294cfc:

  Merge remote-tracking branch 'remotes/mcayland/tags/qemu-sparc-20210207' into staging (2021-02-08 09:23:53 +0000)

are available in the Git repository at:

  git://github.com/dagrh/qemu.git tags/pull-migration-20210208a

for you to fetch changes up to e846b746502e94ce5cb148201ebdaa9c0f658741:

  migration: only check page size match if RAM postcopy is enabled (2021-02-08 11:19:52 +0000)

----------------------------------------------------------------
Migration pull 2021-02-08

v2
  Dropped vmstate: Fix memory leak in vmstate_handle_alloc
    Broke on Power
  Added migration: only check page size match if RAM postcopy is enabled

----------------------------------------------------------------
Andrey Gruzdev (5):
      migration: introduce 'background-snapshot' migration capability
      migration: introduce UFFD-WP low-level interface helpers
      migration: support UFFD write fault processing in ram_save_iterate()
      migration: implementation of background snapshot thread
      migration: introduce 'userfaultfd-wrlat.py' script

Daniel P. Berrangé (11):
      block: push error reporting into bdrv_all_*_snapshot functions
      migration: stop returning errno from load_snapshot()
      block: add ability to specify list of blockdevs during snapshot
      block: allow specifying name of block device for vmstate storage
      block: rename and alter bdrv_all_find_snapshot semantics
      migration: control whether snapshots are ovewritten
      migration: wire up support for snapshot device selection
      migration: introduce a delete_snapshot wrapper
      iotests: add support for capturing and matching QMP events
      iotests: fix loading of common.config from tests/ subdir
      migration: introduce snapshot-{save, load, delete} QMP commands

Dr. David Alan Gilbert (2):
      migration: Add blocker information
      migration: Display the migration blockers

Jinhao Gao (2):
      spapr_pci: Fix memory leak of vmstate_spapr_pci
      savevm: Fix memory leak of vmstate_configuration

Markus Armbruster (4):
      migration: Fix migrate-set-parameters argument validation
      migration: Clean up signed vs. unsigned XBZRLE cache-size
      migration: Fix cache_init()'s "Failed to allocate" error messages
      migration: Fix a few absurdly defective error messages

Philippe Mathieu-Daudé (1):
      migration: Make save_snapshot() return bool, not 0/-1

Stefan Reiter (1):
      migration: only check page size match if RAM postcopy is enabled

Wainer dos Santos Moschetta (1):
      migration/qemu-file: Fix maybe uninitialized on qemu_get_buffer_in_place()

 block/monitor/block-hmp-cmds.c |   7 +-
 block/snapshot.c               | 256 ++++++++++++++++++--------
 hw/ppc/spapr_pci.c             |  11 ++
 include/block/snapshot.h       |  23 ++-
 include/exec/memory.h          |   8 +
 include/migration/snapshot.h   |  47 ++++-
 include/qemu/userfaultfd.h     |  35 ++++
 migration/migration.c          | 409 +++++++++++++++++++++++++++++++++++++++--
 migration/migration.h          |   6 +-
 migration/page_cache.c         |   8 +-
 migration/page_cache.h         |   2 +-
 migration/qemu-file.c          |   2 +-
 migration/ram.c                | 307 ++++++++++++++++++++++++++++++-
 migration/ram.h                |   8 +-
 migration/savevm.c             | 341 +++++++++++++++++++++++++++++-----
 migration/savevm.h             |   3 +
 migration/trace-events         |   2 +
 monitor/hmp-cmds.c             |  45 +++--
 qapi/job.json                  |   9 +-
 qapi/migration.json            | 218 ++++++++++++++++++++--
 replay/replay-debugging.c      |  12 +-
 replay/replay-snapshot.c       |   5 +-
 scripts/userfaultfd-wrlat.py   | 122 ++++++++++++
 softmmu/vl.c                   |   2 +-
 tests/qemu-iotests/267.out     |  12 +-
 tests/qemu-iotests/common.qemu | 106 ++++++++++-
 tests/qemu-iotests/common.rc   |  10 +-
 util/meson.build               |   1 +
 util/trace-events              |   9 +
 util/userfaultfd.c             | 345 ++++++++++++++++++++++++++++++++++
 30 files changed, 2145 insertions(+), 226 deletions(-)
 create mode 100644 include/qemu/userfaultfd.h
 create mode 100755 scripts/userfaultfd-wrlat.py
 create mode 100644 util/userfaultfd.c


Re: [PULL 00/27] migration queue
Posted by Peter Maydell 4 years, 9 months ago
On Mon, 8 Feb 2021 at 17:46, Dr. David Alan Gilbert (git)
<dgilbert@redhat.com> wrote:
>
> From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
>
> The following changes since commit 2766043345748626490e04d69b7a9493c0294cfc:
>
>   Merge remote-tracking branch 'remotes/mcayland/tags/qemu-sparc-20210207' into staging (2021-02-08 09:23:53 +0000)
>
> are available in the Git repository at:
>
>   git://github.com/dagrh/qemu.git tags/pull-migration-20210208a
>
> for you to fetch changes up to e846b746502e94ce5cb148201ebdaa9c0f658741:
>
>   migration: only check page size match if RAM postcopy is enabled (2021-02-08 11:19:52 +0000)
>
> ----------------------------------------------------------------
> Migration pull 2021-02-08
>
> v2
>   Dropped vmstate: Fix memory leak in vmstate_handle_alloc
>     Broke on Power
>   Added migration: only check page size match if RAM postcopy is enabled
>


Applied, thanks.

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

-- PMM