qemu-e2k/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
..
meson.build
pr-helper.h
pr-manager-helper.c
pr-manager-stub.c
pr-manager.c
qemu-pr-helper.c
trace-events
trace.h
utils.c scsi: introduce scsi_sense_from_errno() 2021-02-25 14:14:32 +01:00