scsi: Add mapping for generic SCSI_HOST status to sense codes
commitdb66a15cb80f09da24a5311a3f3b8f0c1835bf71
authorHannes Reinecke <hare@suse.de>
Mon, 16 Nov 2020 18:40:39 +0000 (16 19:40 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 6 Mar 2021 10:41:54 +0000 (6 11:41 +0100)
tree06f20faec9f5b7fba7dfdc4c2d05a4156922909a
parent41af878b96582fc8c83303ab8921e40468403702
scsi: Add mapping for generic SCSI_HOST status to sense codes

As we don't have a driver-specific mapping (yet) we should provide
for a detailed mapping from host_status to SCSI sense codes.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Message-Id: <20201116184041.60465-6-hare@suse.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/scsi/utils.h
scsi/utils.c