]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user: Add translation for argument of msync()
authorHelge Deller <deller@gmx.de>
Thu, 15 Dec 2022 07:27:46 +0000 (08:27 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 10 Mar 2023 19:45:47 +0000 (20:45 +0100)
commitfe080593dd4f2c2763f7c27a3ba6e69b64fe3b0c
treef0787f422945a845bbb03d430dbbeb97c7869858
parent2fe8ed6fe9dd8c50f06c16921b42d6f0e17f9f7c
linux-user: Add translation for argument of msync()

msync() uses the flags MS_ASYNC, MS_INVALIDATE and MS_SYNC, which differ
between platforms, specifcally on alpha and hppa.

Add a target to host translation for those and wire up a nicer strace
output.

This fixes the testsuite of the macaulay2 debian package with a hppa-linux
guest on a x86-64 host.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <Y5rMcts4qe15RaVN@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/alpha/target_mman.h
linux-user/generic/target_mman.h
linux-user/hppa/target_mman.h
linux-user/strace.list
linux-user/syscall.c