hw/arm/pxa2xx_pic: Use LOG_GUEST_ERROR for bad guest register accesses
commite53652ebeaba50e4cc54608ac5e2fe1b8b8717dc
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Jul 2020 15:59:45 +0000 (3 16:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Jul 2020 15:59:45 +0000 (3 16:59 +0100)
tree1fbfbfc1cdc5e386f917c4b4c7a09859d0244978
parenteb2d6dbc98404be76c0ebbad69a623599d163f94
hw/arm/pxa2xx_pic: Use LOG_GUEST_ERROR for bad guest register accesses

Instead of using printf() for logging guest accesses to invalid
register offsets in the pxa2xx PIC device, use the usual
qemu_log_mask(LOG_GUEST_ERROR,...).

This was the only user of the REG_FMT macro in pxa.h, so we can
remove that.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200628142429.17111-16-peter.maydell@linaro.org
hw/arm/pxa2xx_pic.c
include/hw/arm/pxa.h