OSDN Git Service

hw/input/pxa2xx_keypad: Replace hw_error() by qemu_log_mask()
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 2 Jun 2020 12:44:34 +0000 (13:44 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 5 Jun 2020 16:23:08 +0000 (17:23 +0100)
commit3a37f23979ac8179dd297b45cd23020a610002ef
treecfe01312d77d29e45804b2f9871a44bea810279b
parent6d686145c86c9712db1547f66bebb7131979c61b
hw/input/pxa2xx_keypad: 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()
(missed in commit 5a0001ec7e).

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200525114123.21317-2-f4bug@amsat.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/input/pxa2xx_keypad.c