Skip to content

Misc migration fixes

Juan Quintela qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2migration: Move check_migratable() into qdev.chw/core/qdev.c include/migration/migration.h include/migration/vmstate.h +3 more+28 -223 replies
2/2migration: to_dst_file at that point is NULLmigration/socket.c migration/tls.c+0 -25 replies

Reviews trailers per patch

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

PatchLaurent VivierDaniel P. BerrangePeter Xu
1/2R-b
2/2R-b R-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 3 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] Misc migration fixes

Hi

This are independent of all my series, so send then here.

- check_migratable needs to now about objects, device class, etc, that migration code don't care. So move it to qdev.c.

- to_dst_file is set to NULL before this call, just remove it. Long term idea is that nothing outside migration.c should now about members of MigrationState.

Please, review.

Juan Quintela (2):
migration: Move check_migratable() into qdev.c
migration: to_dst_file at that point is NULL

 hw/core/qdev.c                | 15 ++++++++++++++-
 include/migration/migration.h |  3 ---
 include/migration/vmstate.h   |  2 ++
 migration/migration.c         | 15 ---------------
 migration/savevm.c            | 10 ++++++++++
 migration/socket.c            |  1 -
 migration/tls.c               |  1 -
 stubs/vmstate.c               |  5 ++---
 8 files changed, 28 insertions(+), 24 deletions(-)
Signature · 1 line
2.9.3