Hi In this v2: - rename res_postocopy_only ->can_postcopy - rename res_precopy_only -> must_precopy - Rewrite comments after discussions with Vladimir. - 2nd patch is reviewd-by Vladimir.
Please, review. [v1] This series are the redo of the series from vfio. Vladimir Sementsov-Ogievskiy <vsement...@yandex-team.ru> asked that I split the change in ram.c (only place that set res_compatible), and the rest of the patches. So I ended: - change ram.c to put the memory in res_postcopy - remove res_compatible - rename res_postcopy/precopy_only to not have the _only suffix. Please review. Juan Quintela (3): migration: In case of postcopy, the memory ends in res_postcopy_only migration: Remove unused res_compatible migration: Rename res_{postcopy,precopy}_only include/migration/register.h | 30 +++++++++++++++--------------- migration/savevm.h | 10 ++++------ hw/s390x/s390-stattrib.c | 8 +++----- hw/vfio/migration.c | 11 ++++------- migration/block-dirty-bitmap.c | 7 +++---- migration/block.c | 8 +++----- migration/migration.c | 20 +++++++++----------- migration/ram.c | 20 ++++++++------------ migration/savevm.c | 28 ++++++++++------------------ hw/vfio/trace-events | 2 +- migration/trace-events | 4 ++-- 11 files changed, 62 insertions(+), 86 deletions(-) -- 2.39.1