diff options
| author | Markus Armbruster <armbru@redhat.com> | 2025-09-23 11:09:54 +0200 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2025-09-30 14:43:53 +0200 |
| commit | b46b8cf29c56e423b227021f1a5b7aa9b11181b4 (patch) | |
| tree | a89613c8b651d3054d7d9e37024de05dc60e43ff /scripts/lib/kdoc/kdoc_output.py | |
| parent | 3cacecb9f83754a61f4a524f686deae790e2df15 (diff) | |
| download | qemu-b46b8cf29c56e423b227021f1a5b7aa9b11181b4.zip qemu-b46b8cf29c56e423b227021f1a5b7aa9b11181b4.tar.gz qemu-b46b8cf29c56e423b227021f1a5b7aa9b11181b4.tar.bz2 | |
ui/spice-core: Clean up error reporting
watch_add() reports _open_osfhandle() failure with
error_setg(&error_warn, ...). error_setg_win32(&error_warn, ...) is
undesirable just like error_setg(&error_fatal, ...) and
error_setg(&error_abort, ...) are. Replace by warn_report().
The failure should probably be an error, but this function implements
a callback that doesn't take Error **. I believe the failure will
make spice_server_init() fail in qemu_spice_init(), which is treated
as a fatal error. The warning here provides more detail than the
error message there.
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250923091000.3180122-8-armbru@redhat.com>
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions
