[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/m68k/mcf5206: Replace remaining hw_error()s by qemu_log_m
From: |
Laurent Vivier |
Subject: |
Re: [PATCH] hw/m68k/mcf5206: Replace remaining hw_error()s by qemu_log_mask() |
Date: |
Thu, 11 Jun 2020 09:24:31 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
Le 11/06/2020 à 07:58, Thomas Huth a écrit :
> hw_error() dumps the CPU state and exits QEMU. This is ok during initial
> code development (to see where the guest code is currently executing),
> but it is certainly not the desired behavior that we want to present to
> normal users, and it can also cause trouble when e.g. fuzzing devices.
> Thus let's replace these hw_error()s by qemu_log_mask()s instead.
>
> Signed-off-by: Thomas Huth <thuth@tuxfamily.org>
> ---
> hw/m68k/mcf5206.c | 39 ++++++++++++++++++++++++++++-----------
> 1 file changed, 28 insertions(+), 11 deletions(-)
>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>