Skip to content

Migration+huge page fixes

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2migration: Fix non-multiple of page size migrationmigration/ram.c+4 -11 reply
2/2postcopy: Require RAMBlocks that are whole pagesmigration/postcopy-ram.c+13 -33 replies

Reviews trailers per patch

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

PatchJuan Quintela
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] Migration+huge page fixes

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

Hi,
The attached patch-pair fix migration in the case
where you are using huge pages but you have a RAM size which is not a multiple of the huge page size.
It's unfortunately legal so there might be VMs out there that already have it, and it turns out it used to work, but it broke, probably when I added the support for hugepages in postcopy.

Here I:
a) Fix it for normal migration
b) Ban it for postcopy, since postcopy+hugepage was new recently anyway and it's a non-trivial fix.

Dave

Dr. David Alan Gilbert (2):
migration: Fix non-multiple of page size migration
postcopy: Require RAMBlocks that are whole pages

 migration/postcopy-ram.c | 16 +++++++++++++---
 migration/ram.c          |  5 ++++-
 2 files changed, 17 insertions(+), 4 deletions(-)
Signature · 1 line
2.13.0