Skip to content

Remove res_compatible parameter

Juan Quintela qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v13 patches 12 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3migration: In case of postcopy, the memory ends in res_postcopy_onlymigration/ram.c+1 -11 reply
2/3migration: Remove unused res_compatiblehw/s390x/s390-stattrib.c hw/vfio/migration.c hw/vfio/trace-events +8 more+16 -330 replies
3/3migration: Rename res_{postcopy,precopy}_onlyhw/s390x/s390-stattrib.c hw/vfio/migration.c include/migration/register.h +6 more+59 -662 replies

Reviews trailers per patch

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

PatchVladimir Sementsov-Ogievskiy
1/3R-b
2/3R-b
3/3R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/3] Remove res_compatible parameter

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 <[email protected]> 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(-)
Signature · 1 line
2.39.1