Skip to content

virtio: Convert fprintf() to error_report()

Stefan Hajnoczi qemu-devel 1 version Applied

Status from this message: Applied all. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4virtio-blk: Convert fprintf() to error_report()hw/virtio-blk.c+2 -20 replies
2/4virtio: Convert fprintf() to error_report()hw/virtio.c+18 -171 reply
3/4virtio-net: Convert fprintf() to error_report()hw/virtio-net.c+20 -210 replies
4/4virtio-pci: Convert fprintf() to error_report()hw/virtio-pci.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] virtio: Convert fprintf() to error_report()

The virtio hardware emulation code uses fprintf(stderr, ...) error messages. Improve things slightly by moving to error_report() so error messages will be printed to the monitor, if present.

We want to handle device error states properly instead of bailing out with exit(1) but this series does not attempt to fix that yet.

Leave virtio-9p for now where there are many cases of fprintf(stderr, ...) and development is still very active.