You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/scsi
Markus Armbruster ec14a3de62 vfio scsi ui: Error-check qio_channel_socket_connect_sync() the same way
qio_channel_socket_connect_sync() returns 0 on success, and -1 on
failure, with errp set.  Some callers check the return value, and some
check whether errp was set.

For consistency, always check the return value, and always check it's
negative.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20250723133257.1497640-3-armbru@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
7 days ago
..
meson.build configure, meson: rename targetos to host_os 2 years ago
pr-helper.h Normalize header guard symbol definition. 6 years ago
pr-manager-helper.c vfio scsi ui: Error-check qio_channel_socket_connect_sync() the same way 7 days ago
pr-manager-stub.c pr-manager: add query-pr-managers QMP command 7 years ago
pr-manager.c qom: Make InterfaceInfo[] uses const 5 months ago
qemu-pr-helper.c qapi: Move include/qapi/qmp/ to include/qobject/ 7 months ago
trace-events docs: fix references to docs/devel/tracing.rst 4 years ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
utils.c scsi: add conversion from ENODEV to sense 5 months ago