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 system/cpus: rename qemu_mutex_lock_iothread() to bql_lock() 2024-01-08 10:45:43 -05:00
meson.build meson: Replace softmmu_ss -> system_ss 2023-06-20 10:01:30 +02:00
win_dump.c dump/win_dump: Improve error messages on write error 2024-05-27 12:42:12 +02:00
win_dump.h dump: Simplify compiling win_dump.o by introducing win_dump_available() 2023-02-27 22:29:02 +01:00