Home
last modified time | relevance | path

Searched hist:"21 c06f57808c7236cca68ccc7d8df845c22cd998" (Results 1 – 1 of 1) sorted by relevance

/qemu/dump/
H A Dwin_dump.c21c06f57808c7236cca68ccc7d8df845c22cd998 Mon May 13 14:16:59 UTC 2024 Markus Armbruster <armbru@redhat.com> 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>