diff options
author | Thomas Huth | 2018-05-28 20:11:19 +0200 |
---|---|---|
committer | David Gibson | 2018-06-12 01:33:52 +0200 |
commit | 31085338293a1203187c6ef6dba9dfce14021189 (patch) | |
tree | d22938b7cd3fcb91aedc3f0948d14b5e2afed935 /target/i386 | |
parent | hw/ppc/spapr_drc: Replace error_setg(&error_abort) by error_report() + abort() (diff) | |
download | qemu-31085338293a1203187c6ef6dba9dfce14021189.tar.gz qemu-31085338293a1203187c6ef6dba9dfce14021189.tar.xz qemu-31085338293a1203187c6ef6dba9dfce14021189.zip |
target/ppc: Use proper logging function for possible guest errors
fprintf() and qemu_log_separate() are frowned upon these days for printing
logging information in QEMU. Accessing the wrong SPRs indicates wrong guest
behaviour in most cases, and we've got a proper way to log such situations,
which is the qemu_log_mask(LOG_GUEST_ERROR, ...) function. So use this
function now for logging the bad SPR accesses instead.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/i386')
0 files changed, 0 insertions, 0 deletions