[PULL 00/20] Migration 20211031 patches

Juan Quintela posted 20 patches 2 years, 5 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
qapi/migration.json            |  48 ++++-
include/exec/memory.h          |  41 +++-
include/exec/ram_addr.h        |  13 +-
include/hw/core/cpu.h          |   1 +
include/hw/virtio/virtio-mem.h |   3 -
include/migration/blocker.h    |  16 ++
include/sysemu/kvm.h           |   1 +
migration/dirtyrate.h          |  21 +-
migration/ram.h                |   1 +
accel/kvm/kvm-all.c            |   7 +
accel/stubs/kvm-stub.c         |   5 +
dump/dump.c                    |  19 ++
hw/i386/xen/xen-hvm.c          |   4 +-
hw/virtio/virtio-mem.c         |  92 ++++++---
migration/dirtyrate.c          | 367 ++++++++++++++++++++++++++++++---
migration/migration.c          |  30 +--
migration/postcopy-ram.c       |  40 +++-
migration/ram.c                | 180 ++++++++++++++--
migration/rdma.c               | 138 +++++++++----
softmmu/memory.c               |  43 +++-
hmp-commands.hx                |   8 +-
migration/trace-events         |   2 +
softmmu/trace-events           |   1 +
23 files changed, 909 insertions(+), 172 deletions(-)
[PULL 00/20] Migration 20211031 patches
Posted by Juan Quintela 2 years, 5 months ago
The following changes since commit af531756d25541a1b3b3d9a14e72e7fedd941a2e:

  Merge remote-tracking branch 'remotes/philmd/tags/renesas-20211030' into staging (2021-10-30 11:31:41 -0700)

are available in the Git repository at:

  https://github.com/juanquintela/qemu.git tags/migration-20211031-pull-request

for you to fetch changes up to 826b8bc80cb191557a4ce7cf0e155b436d2d1afa:

  migration/dirtyrate: implement dirty-bitmap dirtyrate calculation (2021-11-01 22:56:44 +0100)

----------------------------------------------------------------
Migration Pull request

Hi

this includes pending bits of migration patches.

- virtio-mem support by David Hildenbrand
- dirtyrate improvements by Hyman Huang
- fix rdma wrid by Li Zhijian
- dump-guest-memory fixes by Peter Xu

Pleas apply.

Thanks, Juan.

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

David Hildenbrand (8):
  memory: Introduce replay_discarded callback for RamDiscardManager
  virtio-mem: Implement replay_discarded RamDiscardManager callback
  migration/ram: Handle RAMBlocks with a RamDiscardManager on the
    migration source
  virtio-mem: Drop precopy notifier
  migration/postcopy: Handle RAMBlocks with a RamDiscardManager on the
    destination
  migration: Simplify alignment and alignment checks
  migration/ram: Factor out populating pages readable in
    ram_block_populate_pages()
  migration/ram: Handle RAMBlocks with a RamDiscardManager on background
    snapshots

Hyman Huang(黄勇) (6):
  KVM: introduce dirty_pages and kvm_dirty_ring_enabled
  memory: make global_dirty_tracking a bitmask
  migration/dirtyrate: introduce struct and adjust DirtyRateStat
  migration/dirtyrate: adjust order of registering thread
  migration/dirtyrate: move init step of calculation to main thread
  migration/dirtyrate: implement dirty-ring dirtyrate calculation

Hyman Huang(黄勇) (2):
  memory: introduce total_dirty_pages to stat dirty pages
  migration/dirtyrate: implement dirty-bitmap dirtyrate calculation

Li Zhijian (1):
  migration/rdma: Fix out of order wrid

Peter Xu (3):
  migration: Make migration blocker work for snapshots too
  migration: Add migrate_add_blocker_internal()
  dump-guest-memory: Block live migration

 qapi/migration.json            |  48 ++++-
 include/exec/memory.h          |  41 +++-
 include/exec/ram_addr.h        |  13 +-
 include/hw/core/cpu.h          |   1 +
 include/hw/virtio/virtio-mem.h |   3 -
 include/migration/blocker.h    |  16 ++
 include/sysemu/kvm.h           |   1 +
 migration/dirtyrate.h          |  21 +-
 migration/ram.h                |   1 +
 accel/kvm/kvm-all.c            |   7 +
 accel/stubs/kvm-stub.c         |   5 +
 dump/dump.c                    |  19 ++
 hw/i386/xen/xen-hvm.c          |   4 +-
 hw/virtio/virtio-mem.c         |  92 ++++++---
 migration/dirtyrate.c          | 367 ++++++++++++++++++++++++++++++---
 migration/migration.c          |  30 +--
 migration/postcopy-ram.c       |  40 +++-
 migration/ram.c                | 180 ++++++++++++++--
 migration/rdma.c               | 138 +++++++++----
 softmmu/memory.c               |  43 +++-
 hmp-commands.hx                |   8 +-
 migration/trace-events         |   2 +
 softmmu/trace-events           |   1 +
 23 files changed, 909 insertions(+), 172 deletions(-)

-- 
2.33.1



Re: [PULL 00/20] Migration 20211031 patches
Posted by Richard Henderson 2 years, 5 months ago
On 11/1/21 6:08 PM, Juan Quintela wrote:
> The following changes since commit af531756d25541a1b3b3d9a14e72e7fedd941a2e:
> 
>    Merge remote-tracking branch 'remotes/philmd/tags/renesas-20211030' into staging (2021-10-30 11:31:41 -0700)
> 
> are available in the Git repository at:
> 
>    https://github.com/juanquintela/qemu.git tags/migration-20211031-pull-request
> 
> for you to fetch changes up to 826b8bc80cb191557a4ce7cf0e155b436d2d1afa:
> 
>    migration/dirtyrate: implement dirty-bitmap dirtyrate calculation (2021-11-01 22:56:44 +0100)
> 
> ----------------------------------------------------------------
> Migration Pull request
> 
> Hi
> 
> this includes pending bits of migration patches.
> 
> - virtio-mem support by David Hildenbrand
> - dirtyrate improvements by Hyman Huang
> - fix rdma wrid by Li Zhijian
> - dump-guest-memory fixes by Peter Xu
> 
> Pleas apply.
> 
> Thanks, Juan.
> 
> ----------------------------------------------------------------
> 
> David Hildenbrand (8):
>    memory: Introduce replay_discarded callback for RamDiscardManager
>    virtio-mem: Implement replay_discarded RamDiscardManager callback
>    migration/ram: Handle RAMBlocks with a RamDiscardManager on the
>      migration source
>    virtio-mem: Drop precopy notifier
>    migration/postcopy: Handle RAMBlocks with a RamDiscardManager on the
>      destination
>    migration: Simplify alignment and alignment checks
>    migration/ram: Factor out populating pages readable in
>      ram_block_populate_pages()
>    migration/ram: Handle RAMBlocks with a RamDiscardManager on background
>      snapshots
> 
> Hyman Huang(黄勇) (6):
>    KVM: introduce dirty_pages and kvm_dirty_ring_enabled
>    memory: make global_dirty_tracking a bitmask
>    migration/dirtyrate: introduce struct and adjust DirtyRateStat
>    migration/dirtyrate: adjust order of registering thread
>    migration/dirtyrate: move init step of calculation to main thread
>    migration/dirtyrate: implement dirty-ring dirtyrate calculation
> 
> Hyman Huang(黄勇) (2):
>    memory: introduce total_dirty_pages to stat dirty pages
>    migration/dirtyrate: implement dirty-bitmap dirtyrate calculation
> 
> Li Zhijian (1):
>    migration/rdma: Fix out of order wrid
> 
> Peter Xu (3):
>    migration: Make migration blocker work for snapshots too
>    migration: Add migrate_add_blocker_internal()
>    dump-guest-memory: Block live migration
> 
>   qapi/migration.json            |  48 ++++-
>   include/exec/memory.h          |  41 +++-
>   include/exec/ram_addr.h        |  13 +-
>   include/hw/core/cpu.h          |   1 +
>   include/hw/virtio/virtio-mem.h |   3 -
>   include/migration/blocker.h    |  16 ++
>   include/sysemu/kvm.h           |   1 +
>   migration/dirtyrate.h          |  21 +-
>   migration/ram.h                |   1 +
>   accel/kvm/kvm-all.c            |   7 +
>   accel/stubs/kvm-stub.c         |   5 +
>   dump/dump.c                    |  19 ++
>   hw/i386/xen/xen-hvm.c          |   4 +-
>   hw/virtio/virtio-mem.c         |  92 ++++++---
>   migration/dirtyrate.c          | 367 ++++++++++++++++++++++++++++++---
>   migration/migration.c          |  30 +--
>   migration/postcopy-ram.c       |  40 +++-
>   migration/ram.c                | 180 ++++++++++++++--
>   migration/rdma.c               | 138 +++++++++----
>   softmmu/memory.c               |  43 +++-
>   hmp-commands.hx                |   8 +-
>   migration/trace-events         |   2 +
>   softmmu/trace-events           |   1 +
>   23 files changed, 909 insertions(+), 172 deletions(-)

Applied, thanks.

r~