qemu-e2k/include/scsi
Paolo Bonzini d7a84021db scsi: introduce scsi_sense_from_errno()
The new function is an extension of the switch statement in scsi-disk.c
which also includes the errno cases only found in sg_io_sense_from_errno.
This allows us to consolidate the errno handling.

Extracted from a patch by Hannes Reinecke <hare@suse.de>.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-02-25 14:14:32 +01:00
..
constants.h scsi-generic: Fix HM-zoned device scan 2020-09-30 19:09:20 +02:00
pr-manager.h qom: Remove module_obj_name parameter from OBJECT_DECLARE* macros 2020-09-18 14:12:32 -04:00
utils.h scsi: introduce scsi_sense_from_errno() 2021-02-25 14:14:32 +01:00