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

2024-02-03 Thread Richard Henderson
On 1/30/24 23:13, Ilya Leoshkevich wrote: Is there a way to set the guest page size from the command line? No. Before this patch set, guest page size was a compile-time constant. Afterward, it would be possible for any TARGET_PAGE_BITS_VARY target. I refrained from adding such a command-li

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

2024-01-30 Thread Ilya Leoshkevich
On Tue, Jan 02, 2024 at 12:58:00PM +1100, 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. Maybe also mention PAGE_PASSTHROUGH? > Visible with alpha

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

2024-01-01 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. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- tests/tcg/mul