diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-24 18:59:36 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-25 14:14:32 +0100 |
commit | f63c68bc0f514694a958b2e84a204b7792d28b17 (patch) | |
tree | ed76e3aa2cb69fc3bf0318c2a2be03f62ea34d43 /hw/sd/sdmmc-internal.c | |
parent | d7a84021db8eeddcd5d24ab591a1434763caff6c (diff) | |
download | qemu-f63c68bc0f514694a958b2e84a204b7792d28b17.zip qemu-f63c68bc0f514694a958b2e84a204b7792d28b17.tar.gz qemu-f63c68bc0f514694a958b2e84a204b7792d28b17.tar.bz2 |
scsi-disk: pass SCSI status to scsi_handle_rw_error
Instead of fishing it from *r->status, just pass the SCSI status
as a positive value of the second parameter and an errno as a
negative value.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/sd/sdmmc-internal.c')
0 files changed, 0 insertions, 0 deletions