On Tue,  7 Oct 2025 16:08:10 +1000
Gavin Shan <[email protected]> wrote:

> In the combination of 64KB host and 4KB guest, a problematic host page
> affects 16x guest pages. In this specific case, it's reasonable to
> push 16 consecutive memory CPERs. Otherwise, QEMU can run into core
> dump due to the current error can't be delivered as the previous error
> isn't acknoledges. It's caused by the nature the host page can be
> accessed in parallel due to the mismatched host and guest page sizes.
> 
> Imporve push_ghes_memory_errors() to push 16x consecutive memory CPERs
> for this specific case. The maximal error block size is bumped to 4KB,
> providing enough storage space for those 16x memory CPERs.
> 
> Signed-off-by: Gavin Shan <[email protected]>
Subject to tests being added and the Docs update Mauro requested + follow
on from earlier patch reviews, this looks good to me.

Jonathan

Reply via email to