[PATCH v2 0/4] hw/arm: Replace hw_error() by qemu_log_mask()

Philippe Mathieu-Daudé posted 4 patches 4 years ago
Test docker-mingw@fedora passed
Test checkpatch passed
Test asan passed
Test docker-quick@centos7 passed
Test FreeBSD passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200518140309.5220-1-f4bug@amsat.org
hw/arm/integratorcp.c     | 23 +++++++++++++++--------
hw/arm/pxa2xx_gpio.c      |  7 ++++---
hw/char/xilinx_uartlite.c |  5 +++--
hw/display/pxa2xx_lcd.c   |  8 +++++---
hw/dma/pxa2xx_dma.c       | 14 +++++++++-----
hw/timer/exynos4210_mct.c | 12 +++++-------
6 files changed, 41 insertions(+), 28 deletions(-)
[PATCH v2 0/4] hw/arm: Replace hw_error() by qemu_log_mask()
Posted by Philippe Mathieu-Daudé 4 years ago
When fuzzing the devices, we don't want the whole process to
exit calling hw_error().
Replace these calls by qemu_log_mask LOG_GUEST_ERROR/LOG_UNIMP
when possible.

Since v1: Fixed uninitialized variable

Philippe Mathieu-Daudé (4):
  hw/arm/integratorcp: Replace hw_error() by qemu_log_mask()
  hw/arm/pxa2xx: Replace hw_error() by qemu_log_mask()
  hw/char/xilinx_uartlite: Replace hw_error() by qemu_log_mask()
  hw/timer/exynos4210_mct: Replace hw_error() by qemu_log_mask()

 hw/arm/integratorcp.c     | 23 +++++++++++++++--------
 hw/arm/pxa2xx_gpio.c      |  7 ++++---
 hw/char/xilinx_uartlite.c |  5 +++--
 hw/display/pxa2xx_lcd.c   |  8 +++++---
 hw/dma/pxa2xx_dma.c       | 14 +++++++++-----
 hw/timer/exynos4210_mct.c | 12 +++++-------
 6 files changed, 41 insertions(+), 28 deletions(-)

-- 
2.21.3


Re: [PATCH v2 0/4] hw/arm: Replace hw_error() by qemu_log_mask()
Posted by Peter Maydell 3 years, 12 months ago
On Mon, 18 May 2020 at 15:03, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> When fuzzing the devices, we don't want the whole process to
> exit calling hw_error().
> Replace these calls by qemu_log_mask LOG_GUEST_ERROR/LOG_UNIMP
> when possible.
>
> Since v1: Fixed uninitialized variable
>
> Philippe Mathieu-Daudé (4):
>   hw/arm/integratorcp: Replace hw_error() by qemu_log_mask()
>   hw/arm/pxa2xx: Replace hw_error() by qemu_log_mask()
>   hw/char/xilinx_uartlite: Replace hw_error() by qemu_log_mask()
>   hw/timer/exynos4210_mct: Replace hw_error() by qemu_log_mask()



Applied to target-arm.next, thanks.

-- PMM