]> git.ipfire.org Git - thirdparty/qemu.git/commit
accel/tcg: Split out handle_sigsegv_accerr_write
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 13 Sep 2021 02:47:29 +0000 (19:47 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 30 Oct 2021 16:52:04 +0000 (09:52 -0700)
commit5e38ba7dde963414dddc8a83848701b49d0bcb00
tree9b5829b3f986cf2a4a316ab3c3865e0d8efd7123
parentf920ffdd8ed6d0abb34fdf2bbb85926cfb40aef2
accel/tcg: Split out handle_sigsegv_accerr_write

This is the major portion of handle_cpu_signal which is specific
to tcg, handling the page protections for the translations.
Most of the rest will migrate to linux-user/ shortly.

Reviewed-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
v2: Pass guest address to handle_sigsegv_accerr_write.
accel/tcg/user-exec.c
include/exec/exec-all.h