aboutsummaryrefslogtreecommitdiff
path: root/qom
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2018-05-28 20:11:19 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2018-06-12 09:33:52 +1000
commit31085338293a1203187c6ef6dba9dfce14021189 (patch)
treed22938b7cd3fcb91aedc3f0948d14b5e2afed935 /qom
parente20c63140a185c166e91d8c68a2aa6bb99e600c3 (diff)
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 'qom')
0 files changed, 0 insertions, 0 deletions