Skip to content

Make migration/savevm.c target independent

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 Latest2 patches 1 replyIn review
  2. v12 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Make copyright notice correct (dave)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2exec: Create include for target_page_size()exec.c include/exec/target_page.h include/sysemu/sysemu.h +3 more+23 -11 reply
2/2migration: Make savevm.c target independentMakefile.target exec.c include/exec/target_page.h +2 more+20 -90 replies

Reviews trailers per patch

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

PatchPeter XuDr. David Alan Gilbert
1/2R-b
2/2R-b R-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 [Qemu-devel] [PATCH v2 0/2] Make migration/savevm.c target independent

Hi

Changes for v2
- Make copyright notice correct (dave)

Please, review.

[v1]
Only reason that ram.c is compiled by target is because it use TARGET_PAGE_BITS. As we already have a function to export TARGET_PAGE_SIZE, do the same.
After this, we can make it target independent.

Juan Quintela (2):
exec: Create include for target_page_size()
migration: Make savevm.c target independent

 Makefile.target            |  2 +-
 exec.c                     | 10 ++++++++++
 include/exec/target_page.h | 21 +++++++++++++++++++++
 include/sysemu/sysemu.h    |  1 -
 migration/Makefile.objs    |  2 +-
 migration/migration.c      |  1 +
 migration/postcopy-ram.c   |  1 +
 migration/savevm.c         | 15 ++++++++-------
 8 files changed, 43 insertions(+), 10 deletions(-)
 create mode 100644 include/exec/target_page.h
Signature · 1 line
2.9.3