diff options
| author | Markus Armbruster <armbru@redhat.com> | 2025-09-23 11:09:53 +0200 | 
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2025-09-30 14:43:53 +0200 | 
| commit | 3cacecb9f83754a61f4a524f686deae790e2df15 (patch) | |
| tree | aa15030a00477a40f1fe4d0317eceff466c14611 /scripts/lib/kdoc/kdoc_output.py | |
| parent | 789f1adefba726d2b0bf4d4254c829b5912e32ee (diff) | |
| download | qemu-3cacecb9f83754a61f4a524f686deae790e2df15.zip qemu-3cacecb9f83754a61f4a524f686deae790e2df15.tar.gz qemu-3cacecb9f83754a61f4a524f686deae790e2df15.tar.bz2 | |
net/slirp: Clean up error reporting
net_slirp_register_poll_sock() and net_slirp_unregister_poll_sock()
report WSAEventSelect() 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 failures should probably be errors, but these functions implement
callbacks that cannot fail, exit(1) would be too harsh, and silent
failure we don't want.  Thus, warnings.
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>
Message-ID: <20250923091000.3180122-7-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
