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

Instead of logging guest accesses to invalid register offsets in the
Spitz flash device with zaurus_printf() (which just prints to stderr),
use the usual qemu_log_mask(LOG_GUEST_ERROR,...).

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-15-peter.maydell@linaro.org
hw/arm/spitz.c