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 /ui/qemu-pixman.c | |
| parent | 3cacecb9f83754a61f4a524f686deae790e2df15 (diff) | |
| download | focaccia-qemu-b46b8cf29c56e423b227021f1a5b7aa9b11181b4.tar.gz focaccia-qemu-b46b8cf29c56e423b227021f1a5b7aa9b11181b4.zip | |
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 'ui/qemu-pixman.c')
0 files changed, 0 insertions, 0 deletions