Skip to content

Convert live migration to memory API

Avi Kivity qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Store MemoryRegion in RAMBlockcpu-all.h exec.c+2 -00 replies
2/8Switch ram_save to the memory APIarch_init.c+14 -200 replies
3/8Sort RAMBlocks by ID for migration, not by ram_addrarch_init.c+2 -62 replies
4/8Remove support for version 3 ram_loadarch_init.c+4 -142 replies
5/8Convert ram_load() to the memory APIarch_init.c+2 -20 replies
6/8memory: obsolete cpu_physical_memory_[gs]et_dirty_tracking()arch_init.c cpu-all.h exec-obsolete.h +2 more+7 -180 replies
7/8xen: convert framebuffer dirty tracking to memory APIxen-all.c+2 -30 replies
8/8memory: obsolete more dirty memory related functionscpu-all.h exec-obsolete.h+49 -490 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAnthony Liguori
SeriesR-b
1/8
2/8
3/8
4/8R-b
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/8] Convert live migration to memory API

These patches, on top of "vmstate, memory: decouple vmstate from memory API", convert live migration to use the memory API.

Patch 4 is an ABI change, please review carefully.

Avi Kivity (8):
Store MemoryRegion in RAMBlock
Switch ram_save to the memory API
Sort RAMBlocks by ID for migration, not by ram_addr Remove support for version 3 ram_load
Convert ram_load() to the memory API
memory: obsolete cpu_physical_memory_[gs]et_dirty_tracking()
xen: convert framebuffer dirty tracking to memory API
memory: obsolete more dirty memory related functions

 arch_init.c     |   71 +++++++++++++++++++-----------------------------------
 cpu-all.h       |   54 +-----------------------------------------
 exec-obsolete.h |   51 +++++++++++++++++++++++++++++++++++++++
 exec.c          |   11 +-------
 memory.c        |    2 +
 xen-all.c       |    5 +--
 6 files changed, 82 insertions(+), 112 deletions(-)
Signature · 1 line
1.7.7.1