]> Git Repo - qemu.git/commit
target/ppc: Use proper logging function for possible guest errors
authorThomas Huth <[email protected]>
Mon, 28 May 2018 18:11:19 +0000 (20:11 +0200)
committerDavid Gibson <[email protected]>
Mon, 11 Jun 2018 23:33:52 +0000 (09:33 +1000)
commit31085338293a1203187c6ef6dba9dfce14021189
treed22938b7cd3fcb91aedc3f0948d14b5e2afed935
parente20c63140a185c166e91d8c68a2aa6bb99e600c3
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 <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Greg Kurz <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Signed-off-by: David Gibson <[email protected]>
target/ppc/translate.c
This page took 0.027354 seconds and 4 git commands to generate.