commit | 1ead6b4e242e59711976cdf2502dd5c7cd5d340a | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Aug 22 09:43:14 2017 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Sep 19 14:09:11 2017 +0200 |
tree | 22f471aaec74e17dbb5ee7bf8187c4228aaee61d | |
parent | a3760467c6b0ff5d1ff952fdc8cec69c65e19499 [diff] |
scsi: introduce sg_io_sense_from_errno Move more knowledge of SG_IO out of hw/scsi/scsi-generic.c, for reusability. Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>