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

Chenyi Qiang posted 2 patches 3 weeks, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251023095526.48365-1-chenyi.qiang@intel.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Peter Xu <peterx@redhat.com>, David Hildenbrand <david@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>
system/ram-block-attributes.c | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
[PATCH v2 0/2] Fix a regression with hugetlbfs for shared memory in CoCo VMs
Posted by Chenyi Qiang 3 weeks, 1 day ago
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