[PATCH v2 0/1] Use correct trap number for *BSD

Warner Losh posted 1 patch 4 years, 7 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210625045707.84534-1-imp@bsdimp.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Riku Voipio <riku.voipio@iki.fi>
There is a newer version of this series
accel/tcg/user-exec.c | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
[PATCH v2 0/1] Use correct trap number for *BSD
Posted by Warner Losh 4 years, 7 months ago
This is a resend of a patch I sent back in March that was missing the proper
includes due to a rebasing mistake.

The issue is that all the BSDs use T_PAGEFLT to signal a page fault on x86,
while linux uses 0xe. The patch harmonizes the different ways this can be
spelled, as explained in the patch itself.

Warner Losh (1):
  tcg: Use correct trap number for page faults on *BSD systems

 accel/tcg/user-exec.c | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

-- 
2.22.1


[PATCH v2 0/1] Use correct trap number for *BSD
Posted by Warner Losh 4 years, 7 months ago
This is a resend of a patch I sent back in March that was missing the proper
includes due to a rebasing mistake.

Warner Losh (1):
  tcg: Use correct trap number for page faults on *BSD systems

 accel/tcg/user-exec.c | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

-- 
2.22.1


Re: [PATCH v2 0/1] Use correct trap number for *BSD
Posted by Warner Losh 4 years, 7 months ago
On Thu, Jun 24, 2021 at 10:57 PM Warner Losh <imp@bsdimp.com> wrote:

> This is a resend of a patch I sent back in March that was missing the
> proper
> includes due to a rebasing mistake.
>
> The issue is that all the BSDs use T_PAGEFLT to signal a page fault on x86,
> while linux uses 0xe. The patch harmonizes the different ways this can be
> spelled, as explained in the patch itself.
>

I forgot to mention that I've setup NetBSD and OpenBSD bhyve instances
to compile and test these changes to make double sure that they will pass
through the qemu CI.


> Warner Losh (1):
>   tcg: Use correct trap number for page faults on *BSD systems
>
>  accel/tcg/user-exec.c | 20 ++++++++++++++++++--
>  1 file changed, 18 insertions(+), 2 deletions(-)
>
> --
> 2.22.1
>
>