Commit a60c63ea8b for qemu.org
commit a60c63ea8b1b51624e08b8bdfbb9608e4d740f5f
Author: Peter Maydell <peter.maydell@linaro.org>
Date: Fri May 8 17:20:12 2026 +0100
hw/display/exynos4210_fimd: Use LOG_GUEST_ERROR instead of hw_error()
The exynos4210_fimd device model uses hw_error() in several places
for "the guest set this register field to something out of range";
update to the more modern LOG_GUEST_ERROR.
Resolves: https://gitlab.com/qemu-project/qemu/-/work_items/3405
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20260508162013.2751001-4-peter.maydell@linaro.org
diff --git a/hw/display/exynos4210_fimd.c b/hw/display/exynos4210_fimd.c
index 5133623ee2..aa94b29971 100644
--- a/hw/display/exynos4210_fimd.c
+++ b/hw/display/exynos4210_fimd.c
@@ -533,7 +533,8 @@ exynos4210_fimd_palette_format(Exynos4210fimdState *s, int window)
((s->wpalcon[1] >> FIMD_WPAL_W4PAL_L_SHT) & FIMD_WPAL_W4PAL_L);
break;
default:
- hw_error("exynos4210.fimd: incorrect window number %d\n", window);
+ qemu_log_mask(LOG_GUEST_ERROR,
+ "exynos4210.fimd: incorrect window number %d\n", window);
ret = 0;
break;
}
@@ -757,7 +758,9 @@ exynos4210_fimd_blend_pixel(Exynos4210fimdWindow *w, rgba p_bg, rgba *ret)
blend_param[i] = FIMD_1_MINUS_COLOR(bg_color);
break;
default:
- hw_error("exynos4210.fimd: blend equation coef illegal value\n");
+ qemu_log_mask(LOG_GUEST_ERROR,
+ "exynos4210.fimd: blend equation coef illegal value\n");
+ blend_param[i] = 0;
break;
}
}