summary refs log tree commit diff stats
path: root/qga/commands-win32.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2024-05-13 16:16:58 +0200
committerMarkus Armbruster <armbru@redhat.com>2024-05-27 12:42:01 +0200
commit540d91b40c390faa565e613a85bc0950ca7e0775 (patch)
tree75dea560b2beaf1098d286fcd405cfff42146a4c /qga/commands-win32.c
parent60b54b67c63d8f076152e0f7dccf39854dfc6a77 (diff)
downloadfocaccia-qemu-540d91b40c390faa565e613a85bc0950ca7e0775.tar.gz
focaccia-qemu-540d91b40c390faa565e613a85bc0950ca7e0775.zip
block: Improve error message when external snapshot can't flush
external_snapshot_action() reports bdrv_flush() failure to its caller
as

    An IO error has occurred

The errno code returned by bdrv_flush() is lost.

Improve this to

    Write to node '<device or node name>' failed: <description of errno>

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240513141703.549874-2-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'qga/commands-win32.c')
0 files changed, 0 insertions, 0 deletions