qemu/dump
Markus Armbruster 21c06f5780 dump/win_dump: Improve error messages on write error
create_win_dump() and write_run report qemu_write_full() failure to
their callers as

    An IO error has occurred

The errno set by qemu_write_full() is lost.

Improve this to

    win-dump: failed to write header: <description of errno>

and

    win-dump: failed to save memory: <description of errno>

This matches how dump.c reports similar errors.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240513141703.549874-3-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2024-05-27 12:42:12 +02:00
..
dump-hmp-cmds.c dump: Fix HMP dump-guest-memory -z without -R 2024-01-30 21:20:20 +03:00
dump.c
meson.build
win_dump.c dump/win_dump: Improve error messages on write error 2024-05-27 12:42:12 +02:00
win_dump.h