hw/arm/xen_arm.c: convert DPRINTF to trace events and error/warn reports
authorManos Pitsidianakis <manos.pitsidianakis@linaro.org>
Mon, 29 Jan 2024 16:09:38 +0000 (18:09 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Feb 2024 13:51:59 +0000 (13:51 +0000)
commit6b4a990b42e647b3b2ad5991cd8b931036531f3f
tree06aa40ad671cd74e077a133d392dd1bd3588cf48
parentfcc554c7afb0613bf1a0a355e8123e818bfaf833
hw/arm/xen_arm.c: convert DPRINTF to trace events and error/warn reports

Tracing DPRINTFs to stderr might not be desired. A developer that relies
on trace events should be able to opt-in to each trace event and rely on
QEMU's log redirection, instead of stderr by default.

This commit converts DPRINTFs in this file that are used for tracing
into trace events. Errors or warnings are converted to error_report and
warn_report calls.

Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: fe5e3bd54231abe933f95a24e0e88208cd8cfd8f.1706544115.git.manos.pitsidianakis@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/trace-events
hw/arm/xen_arm.c