target/ppc: improve checkstop logging
authorNicholas Piggin <npiggin@gmail.com>
Mon, 11 Mar 2024 18:33:18 +0000 (04:33 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Thu, 23 May 2024 23:34:38 +0000 (09:34 +1000)
commit9728fb5c22a51b5f2f65ba36fdcd8fd0999be6fc
tree7789096694f202ecab58b47e89f397c3e189ff39
parentcce7aee8dd934dca3040eb8ea1ad1973701d7c96
target/ppc: improve checkstop logging

Change the logging not to print to stderr as well, because a
checkstop is a guest error (or perhaps a simulated machine error)
rather than a QEMU error, so send it to the log.

Update the checkstop message, and log CPU registers too.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Glenn Miles <milesg@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
target/ppc/excp_helper.c