Skip to content

Migration cleanups for postcopy

Dr. David Alan Gilbert (git) qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Add qemu_get_counted_string to read a string prefixed by a count bytearch_init.c include/migration/qemu-file.h migration/qemu-file.c +1 more+31 -92 replies
2/6Split header writing out of qemu_savevm_state_begininclude/sysemu/sysemu.h migration/migration.c savevm.c +1 more+11 -32 replies
3/6qemu_ram_foreach_block: pass up error value, and down the ramblock nameexec.c include/exec/cpu-common.h migration/rdma.c+12 -61 reply
4/6Create MigrationIncomingStateinclude/migration/migration.h include/qemu/typedefs.h migration/migration.c +1 more+40 -02 replies
5/6Move copy out of qemu_peek_bufferinclude/migration/qemu-file.h migration/qemu-file.c migration/vmstate.c+11 -81 reply
6/6Move loadvm_handlers into MigrationIncomingStateinclude/migration/migration.h include/migration/vmstate.h include/qemu/typedefs.h +2 more+26 -121 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchAmit ShahDavid GibsonMichael R. HinesJuan Quintela
1/6R-b R-b R-b
2/6R-b R-b R-b
3/6R-b R-b R-b R-b
4/6R-b R-b R-b
5/6R-b R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/6] Migration cleanups for postcopy

From: "Dr. David Alan Gilbert" <[email protected]>

Hi,
This is a set of patches that started off life in my postcopy
tree but that are more general. Amit suggested I split them out as a separate series so that the main Postcopy series gets easier to review.

The qemu_get_counted_string and qemu_ram_foreach_block have already been posted separately.

Dave

Dr. David Alan Gilbert (6):
Add qemu_get_counted_string to read a string prefixed by a count byte Split header writing out of qemu_savevm_state_begin
qemu_ram_foreach_block: pass up error value, and down the ramblock
name
Create MigrationIncomingState
Move copy out of qemu_peek_buffer
Move loadvm_handlers into MigrationIncomingState

 arch_init.c                   |  9 ++++----
 exec.c                        | 10 +++++++--
 include/exec/cpu-common.h     |  4 ++--
 include/migration/migration.h | 14 ++++++++++++
 include/migration/qemu-file.h |  5 ++++-
 include/migration/vmstate.h   |  2 ++
 include/qemu/typedefs.h       |  2 ++
 include/sysemu/sysemu.h       |  1 +
 migration/migration.c         | 31 ++++++++++++++++++++++++++
 migration/qemu-file.c         | 29 +++++++++++++++++++-----
 migration/rdma.c              |  4 ++--
 migration/vmstate.c           |  5 +++--
 savevm.c                      | 52 ++++++++++++++++++++++++++-----------------
 trace-events                  |  1 +
 14 files changed, 131 insertions(+), 38 deletions(-)
Signature · 1 line
2.4.1