On Tue, Feb 1, 2022 at 9:32 AM Peter Maydell <peter.mayd...@linaro.org> wrote:
> On Mon, 31 Jan 2022 at 19:56, Warner Losh <i...@bsdimp.com> wrote: > > > > The following changes since commit > 7a1043cef91739ff4b59812d30f1ed2850d3d34e: > > > > Merge remote-tracking branch > 'remotes/bonzini-gitlab/tags/for-upstream' into staging (2022-01-28 > 14:04:01 +0000) > > > > are available in the Git repository at: > > > > g...@gitlab.com:bsdimp/qemu.git tags/bsd-user-arm-2022q1-pull-request > > > > for you to fetch changes up to 1103d59caaa82c94b4223a5429c31895d2f05217: > > > > bsd-user/freebsd/target_os_ucontext.h: Prefer env as arg name for > CPUArchState args (2022-01-30 17:13:50 -0700) > > > > ---------------------------------------------------------------- > > bsd-user: upstream signal implementation > > > > Upstream the bsd-user fork signal implementation, for the most part. > This > > series of commits represents nearly all of the infrastructure that > surround > > signals, except the actual system call glue (that was also reworked in > the > > fork and needs its own series). In addition, this adds the sigsegv and > sigbus > > code to arm. Even in the fork, we don't have good x86 signal > implementation, > > so there's little to upstream for that at the moment. > > > > bsd-user's signal implementation is similar to linux-user's. The full > context > > can be found in the bsd-user's fork's 'blitz branch' at > > https://github.com/qemu-bsd-user/qemu-bsd-user/tree/blitz which shows > how these > > are used to implement various system calls. Since this was built from > > linux-user's stack stuff, evolved for BSD with the passage of a few > years, it > > no-doubt missed some bug fixes from linux-user (though nothing obvious > stood out > > in the quick comparison I made). After the first round of reviews, many > of these > > improvements have been incorporated. > > > > Patchew history: > https://patchew.org/QEMU/20220125012947.14974-1-...@bsdimp.com/ > > > > > > Applied, thanks. > > Please update the changelog at https://wiki.qemu.org/ChangeLog/7.0 > for any user-visible changes. > There was a testing escape, so please see [PATCH] bsd-user/signal.c: Only copy the _capsicum for FreeBSD_version > 1400026 that I just posted to fix the build on older FreeBSD systems. Warner