Skip to content

misc: Improve error reporting on Windows

Philippe Mathieu-Daudé qemu-devel 3 versions – Applied

Status from this message: Queued, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesApplied
  2. v26 patches 8 repliesSuperseded
  3. v12 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Remove changes in functions using fprintf() (util/oslib-win32.c is no more modified)
- Do not remove slog() call in qmp_guest_shutdown()

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4chardev: Improve error report by calling error_setg_win32()chardev/char-pipe.c chardev/char-win.c+2 -20 replies
2/4util/osdep: Improve error report by calling error_setg_win32()util/osdep.c+2 -20 replies
3/4qga: Improve error report by calling error_setg_win32()qga/channel-win32.c qga/commands-win32.c+7 -41 reply
4/4qga: Fix a memory leakqga/channel-win32.c+2 -20 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchDaniel P. BerrangéMarc-André Lureau
1/4R-b R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] misc: Improve error reporting on Windows

Few patches to improve bug reports on Windows. (i.e. https://bugs.launchpad.net/qemu/+bug/1657841)

Since v2:
- Remove changes in functions using fprintf() (util/oslib-win32.c is no more modified)
- Do not remove slog() call in qmp_guest_shutdown()

Since v1:
- Rebase an old patch from Alistair to use error_report() as suggested by Markus
- Fix other uses in util/osdep.c and QEMU guest-agent

Philippe Mathieu-Daudé (4):
chardev: Improve error report by calling error_setg_win32() util/osdep: Improve error report by calling error_setg_win32()
qga: Improve error report by calling error_setg_win32()
qga: Fix a memory leak

 chardev/char-pipe.c  | 2 +-
 chardev/char-win.c   | 2 +-
 qga/channel-win32.c  | 7 ++++---
 qga/commands-win32.c | 8 +++++---
 util/osdep.c         | 4 ++--
 5 files changed, 13 insertions(+), 10 deletions(-)
Signature · 1 line
2.21.1