qemu-cr16/scsi
Vladimir Sementsov-Ogievskiy 1ed8903916 treewide: handle result of qio_channel_set_blocking()
Currently, we just always pass NULL as errp argument. That doesn't
look good.

Some realizations of interface may actually report errors.
Channel-socket realization actually either ignore or crash on
errors, but we are going to straighten it out to always reporting
an errp in further commits.

So, convert all callers to either handle the error (where environment
allows) or explicitly use &error_abort.

Take also a chance to change the return value to more convenient
bool (keeping also in mind, that underlying realizations may
return -1 on failure, not -errno).

Suggested-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
[DB: fix return type mismatch in TLS/websocket channel
     impls for qio_channel_set_blocking]
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2025-09-19 12:46:07 +01:00
..
meson.build configure, meson: rename targetos to host_os 2023-12-31 09:11:29 +01:00
pr-helper.h Normalize header guard symbol definition. 2019-05-13 08:58:55 +02:00
pr-manager-helper.c vfio scsi ui: Error-check qio_channel_socket_connect_sync() the same way 2025-09-01 13:11:13 +02:00
pr-manager-stub.c pr-manager: add query-pr-managers QMP command 2018-06-28 19:05:35 +02:00
pr-manager.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
qemu-pr-helper.c treewide: handle result of qio_channel_set_blocking() 2025-09-19 12:46:07 +01:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
utils.c scsi: add conversion from ENODEV to sense 2025-04-17 18:23:07 +02:00