Skip to content

Fix a regression with hugetlbfs for shared memory in CoCo VMs

Chenyi Qiang 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 6 repliesIn review
  2. v11 patch 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ram-block-attributes: Avoid the overkill of shared memory with hugetlbfs backendsystem/ram-block-attributes.c+8 -103 replies
2/2ram-block-attributes: Unify the retrieval of the block sizesystem/ram-block-attributes.c+1 -13 replies

Reviews trailers per patch

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

PatchFarrah ChenDavid HildenbrandXiaoyao Li
1/2T-b A-b R-b
2/2T-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 v2 thread

Cover letter [PATCH v2 0/2] Fix a regression with hugetlbfs for shared memory in CoCo VMs

In CoCo VMs, although the hugepage for private memory is not supported yet, Users can still specify hugetlbfs backend for shared memory. However, due to the recent changes of ram-block-attributes, it triggers an assertion failure when getting the block size because the page size of ram_block is different from the host page size. This patch series fixes this regression and clean up the code to unify the retrieval of block size.

Chenyi Qiang (2):
ram-block-attributes: Avoid the overkill of shared memory with
hugetlbfs backend
ram-block-attributes: Unify the retrieval of the block size

 system/ram-block-attributes.c | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)
Signature · 1 line
2.43.5