On Thu, Oct 22 2026, Philippe Mathieu-Daudé <[email protected]> wrote:
> Implement s390x_exception_name() and register it as the > CPUClass::exception_name() handler, so the common exception > logging can resolve s390x exception codes to names. > > Use the new helper in s390_cpu_do_interrupt() and helper_exception(). > > With '-d int', s390_cpu_do_interrupt() now logs the exception > name in parentheses after its number. > > Signed-off-by: Philippe Mathieu-Daudé <[email protected]> > Reviewed-by: Pierrick Bouvier <[email protected]> > --- > target/s390x/cpu.h | 2 ++ > target/s390x/cpu.c | 1 + > target/s390x/interrupt.c | 16 ++++++++++++++++ > target/s390x/tcg/excp_helper.c | 6 ++++-- > target/s390x/tcg/misc_helper.c | 3 ++- > 5 files changed, 25 insertions(+), 3 deletions(-) Acked-by: Cornelia Huck <[email protected]>
