summary refs log tree commit diff stats
path: root/scripts/qapi/doc.py
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 /scripts/qapi/doc.py
parente20c63140a185c166e91d8c68a2aa6bb99e600c3 (diff)
downloadfocaccia-qemu-31085338293a1203187c6ef6dba9dfce14021189.tar.gz
focaccia-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 'scripts/qapi/doc.py')
0 files changed, 0 insertions, 0 deletions