Re: [PATCH 3/4] hw/char/xilinx_uartlite: Replace hw_error() by qemu_log_mask()

2020-05-18 Thread Edgar E. Iglesias
On Mon, May 18, 2020 at 11:52:02AM +0200, Philippe Mathieu-Daudé wrote: > 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

[PATCH 3/4] hw/char/xilinx_uartlite: Replace hw_error() by qemu_log_mask()

2020-05-18 Thread Philippe Mathieu-Daudé
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(). Signed-off-by: Philippe Mathieu-Daudé --- hw/char/xilinx_uartlite.c |