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(-) -- 2.21.1