diff options
| author | Fam Zheng <famz@redhat.com> | 2017-08-21 22:10:07 +0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-09-19 14:09:11 +0200 |
| commit | a485b23425c755867d6caa6ab590be4e0473e35a (patch) | |
| tree | f22197ab32440478a02c7444ec7154cb75e63cf1 /scsi/utils.c | |
| parent | 5efa3c04483d408a03ff5f018842501a2048a51b (diff) | |
| download | focaccia-qemu-a485b23425c755867d6caa6ab590be4e0473e35a.tar.gz focaccia-qemu-a485b23425c755867d6caa6ab590be4e0473e35a.zip | |
scsi: Introduce scsi_sense_buf_to_errno
This recognizes the "fixed" and "descriptor" format sense data, extracts the sense key/asc/ascq fields then converts them to an errno. Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <20170821141008.19383-4-famz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scsi/utils.c')
0 files changed, 0 insertions, 0 deletions