The following changes since commit c148a0572130ff485cd2249fbdd1a3260d5e10a4:
Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20211016' into staging (2021-10-16 11:16:28 -0700) are available in the Git repository at: g...@gitlab.com:bsdimp/qemu.git tags/pull-bsd-user-20211018-pull-request for you to fetch changes up to 5abfac277d25feb5f12332422c03ea1cb21c6aa1: bsd-user/signal: Create a dummy signal queueing function (2021-10-18 12:51:39 -0600) ---------------------------------------------------------------- bsd-user pull request: merge dependencies for next architectures Merge the dependencies for arm, aarch64, and riscv64 architectures. This joins together two patch series: [PATCH v2 00/15] bsd-user: misc cleanup for aarch64 import Prepare for aarch64 support (the next architecture to be upstreamed). As the aarch64 emulation is more complete, it relies on a number of different items. In some cases, I've pulled in the full support from bsd-user fork. In other cases I've created a simple stub (as is the case for signals, which have independent changes pending, so I wanted to be as minimal as possible. Since all pre-12.2 support was purged from the bsd-user fork, go ahead and remove it here. FreeBSD 11.x goes ouft of support at the end of the month. Remove what little multi-version support that's in upstream. and [PATCH v3 0/9] bsd-user mmap fixes This series synchronizes mmap.c with the bsd-user fork. This is a mix of old bug fixes pulled in from linux-user, as well as some newer fixes to adress bugs found in check-tcg and recent FreeBSD developments. There are also a couple of style commits. Updated to migrate debugging to qemu_log. as well as a couple of minor rebase tweaks. In addition, the next two architectures I plan on upstreaming (arm and riscv64) also have their prereqs satisfied with this request. v2: Remove accidental module regression in patch 7 and try again. ---------------------------------------------------------------- Kyle Evans (1): bsd-user/mmap.c: Implement MAP_EXCL, required by jemalloc in head Mikaƫl Urankar (2): bsd-user/mmap.c: Always zero MAP_ANONYMOUS memory in mmap_frag() bsd-user/mmap.c: check pread's return value to fix warnings with _FORTIFY_SOURCE Stacey Son (1): bsd-user/errno_defs.h: Add internal error numbers Warner Losh (19): bsd-user/mmap.c: MAP_ symbols are defined, so no need for ifdefs bsd-user/mmap.c: mmap return ENOMEM on overflow bsd-user/mmap.c: mmap prefer MAP_ANON for BSD bsd-user/mmap.c: Convert to qemu_log logging for mmap debugging bsd-user/mmap.c: Don't mmap fd == -1 independently from MAP_ANON flag bsd-user/mmap.c: assert that target_mprotect cannot fail meson: *-user: only descend into *-user when configured bsd-user/target_os-user.h: Remove support for FreeBSD older than 12.0 bsd-user/strace.list: Remove support for FreeBSD versions older than 12.0 bsd-user: TARGET_RESET define is unused, remove it bsd-user: export get_errno and is_error from syscall.c bsd-user: move TARGET_MC_GET_CLEAR_RET to target_os_signal.h bsd-user/target_os_elf.h: Remove fallback ELF_HWCAP and reorder bsd-user/target_os_elf: If ELF_HWCAP2 is defined, publish it bsd-user: Remove used from TaskState bsd-user: Add stop_all_tasks bsd-user/sysarch: Move to using do_freebsd_arch_sysarch interface bsd-user: Rename sigqueue to qemu_sigqueue bsd-user/signal: Create a dummy signal queueing function bsd-user/errno_defs.h | 13 ++- bsd-user/freebsd/meson.build | 3 + bsd-user/freebsd/os-sys.c | 27 +++++ bsd-user/freebsd/strace.list | 11 -- bsd-user/freebsd/target_os_elf.h | 12 +-- bsd-user/freebsd/target_os_signal.h | 3 + bsd-user/freebsd/target_os_user.h | 100 +------------------ bsd-user/i386/target_arch_cpu.h | 2 - bsd-user/i386/target_arch_signal.h | 2 - bsd-user/main.c | 10 +- bsd-user/meson.build | 7 ++ bsd-user/mmap.c | 144 +++++++++++++++------------ bsd-user/qemu.h | 25 +++-- bsd-user/signal.c | 11 +- bsd-user/syscall.c | 60 +---------- bsd-user/x86_64/target_arch_cpu.h | 2 - bsd-user/x86_64/target_arch_signal.h | 2 - linux-user/meson.build | 4 + meson.build | 12 ++- 19 files changed, 187 insertions(+), 263 deletions(-) create mode 100644 bsd-user/freebsd/meson.build create mode 100644 bsd-user/freebsd/os-sys.c -- 2.32.0