summary refs log tree commit diff stats
path: root/bsd-user/bsdload.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-01-02 12:58:00 +1100
committerRichard Henderson <richard.henderson@linaro.org>2024-02-29 11:35:37 -1000
commit6ada8619510002e7b0ad5925597232c750282592 (patch)
tree673159ed9708b177649d19f1c70e5c90a3649ddb /bsd-user/bsdload.c
parente9206163d9d9cdd962abb00e40b22141a5e29684 (diff)
downloadfocaccia-qemu-6ada8619510002e7b0ad5925597232c750282592.tar.gz
focaccia-qemu-6ada8619510002e7b0ad5925597232c750282592.zip
tests/tcg: Extend file in linux-madvise.c
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é <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Acked-by: Helge Deller <deller@gmx.de>
Message-Id: <20240102015808.132373-26-richard.henderson@linaro.org>
Diffstat (limited to 'bsd-user/bsdload.c')
0 files changed, 0 insertions, 0 deletions