On 10/10/22 07:21, Paolo Bonzini wrote:
Add support for saving/restoring extended save states when signals
are delivered. This allows using AVX, MPX or PKRU registers in
signal handlers. The patch follows the Linux ABI.
Signed-off-by: Paolo Bonzini<pbonz...@redhat.com>
---
linux-user/i386/signal.c | 115 +++++++++++++++++++++++++++++------
target/i386/cpu.c | 2 +-
target/i386/cpu.h | 3 +
target/i386/tcg/fpu_helper.c | 64 +++++++++++--------
4 files changed, 138 insertions(+), 46 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~