diff options
author | Markus Armbruster <armbru@redhat.com> | 2024-05-13 16:16:59 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2024-05-27 12:42:12 +0200 |
commit | 21c06f57808c7236cca68ccc7d8df845c22cd998 (patch) | |
tree | 1fa8524b8472c53b462dc870b610a137a6a089b5 /block | |
parent | 540d91b40c390faa565e613a85bc0950ca7e0775 (diff) |
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions