hw/m68k/mcf52xx: Replace hw_error() by qemu_log_mask()
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 26 May 2020 09:40:52 +0000 (11:40 +0200)
committerThomas Huth <huth@tuxfamily.org>
Sat, 30 May 2020 07:17:46 +0000 (09:17 +0200)
commitb809667808b1f742a85d6cce0d77800be20bcaa0
tree413343806e170ade5ab27871de2a2c8c371fe36d
parentccff1ae4df08ad79d055ad255fd578786f17a313
hw/m68k/mcf52xx: 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().

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200526094052.1723-3-f4bug@amsat.org>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Signed-off-by: Thomas Huth <huth@tuxfamily.org>
hw/m68k/mcf5206.c
hw/m68k/mcf5208.c
hw/m68k/mcf_intc.c
hw/net/mcf_fec.c