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(-)

-- 
2.43.5


Reply via email to