Re: [PATCH 25/33] tests/tcg: Extend file in linux-madvise.c

2023-08-20 Thread Philippe Mathieu-Daudé
On 18/8/23 19:12, Richard Henderson wrote: When guest page size > host page size, this test can fail due to the SIGBUS protection hack. Avoid this by making sure that the file size is at least one guest page. Visible with alpha guest on x86_64 host. Signed-off-by: Richard Henderson --- test

[PATCH 25/33] tests/tcg: Extend file in linux-madvise.c

2023-08-18 Thread Richard Henderson
When guest page size > host page size, this test can fail due to the SIGBUS protection hack. Avoid this by making sure that the file size is at least one guest page. Visible with alpha guest on x86_64 host. Signed-off-by: Richard Henderson --- tests/tcg/multiarch/linux/linux-madvise.c | 2 ++