hw/char/xilinx_uartlite: Replace hw_error() by qemu_log_mask()
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 18 May 2020 14:03:08 +0000 (16:03 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 21 May 2020 21:05:27 +0000 (22:05 +0100)
commit492edf3e3038760aa6b7eb6a9bfdb648d4fa9b80
tree46196692d27bbb3431d15b2a20824e54f2f0027d
parent5a0001ec7e0a446b6da86da8ca03211aab0fcd08
hw/char/xilinx_uartlite: Replace hw_error() by qemu_log_mask()

hw_error() calls exit(). This a bit overkill when we can log
the accesses as unimplemented or guest error.

When fuzzing the devices, we don't want the whole process to
exit. Replace some hw_error() calls by qemu_log_mask().

Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200518140309.5220-4-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/char/xilinx_uartlite.c