On 19/1/24 14:24, Manos Pitsidianakis wrote:
According to the QEMU Coding Style document:

Do not use printf(), fprintf() or monitor_printf(). Instead, use
error_report() or error_vreport() from error-report.h. This ensures the
error is reported in the right place (current monitor or stderr), and in
a uniform format.
Use error_printf() & friends to print additional information.

This commit changes fprintfs that report warnings and errors to the
appropriate report functions.

Signed-off-by: Manos Pitsidianakis <manos.pitsidiana...@linaro.org>
---
  hw/xen/xen-hvm-common.c | 12 ++++++------
  hw/xen/xen-mapcache.c   |  5 ++---
  2 files changed, 8 insertions(+), 9 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>


Reply via email to