aboutsummaryrefslogtreecommitdiff
path: root/hw/lm32/Kconfig
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-02-24 16:30:09 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-02-25 14:14:32 +0100
commitd7a84021db8eeddcd5d24ab591a1434763caff6c (patch)
treeb176dbb666400680650b9f5a0fc8b22855ffcb65 /hw/lm32/Kconfig
parent424740def9a42da88550410de9a41ef07cc4a010 (diff)
downloadqemu-d7a84021db8eeddcd5d24ab591a1434763caff6c.zip
qemu-d7a84021db8eeddcd5d24ab591a1434763caff6c.tar.gz
qemu-d7a84021db8eeddcd5d24ab591a1434763caff6c.tar.bz2
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>
Diffstat (limited to 'hw/lm32/Kconfig')
0 files changed, 0 insertions, 0 deletions