Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.5:Update
qemu.26278
virtio-scsi-change-DID-TIMEOUT-handling.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File virtio-scsi-change-DID-TIMEOUT-handling.patch of Package qemu.26278
From: Bruce Rogers <brogers@suse.com> Date: Wed, 3 Feb 2021 14:25:38 -0700 Subject: virtio-scsi: change DID TIMEOUT handling This patch implements a change of SG_ERR_DID_TIME_OUT handling as suggested in https://bugzilla.suse.com/show_bug.cgi?id=1178049#c145 Suggested-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Bruce Rogers <brogers@suse.com> --- hw/scsi/virtio-scsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/scsi/virtio-scsi.c b/hw/scsi/virtio-scsi.c index 3155658db33f95a572a4c7ff495e..2e5bcf442384905d8d80fd487eea 100644 --- a/hw/scsi/virtio-scsi.c +++ b/hw/scsi/virtio-scsi.c @@ -507,7 +507,6 @@ static void virtio_scsi_command_complete(SCSIRequest *r, uint32_t status, req->resp.cmd.response = VIRTIO_SCSI_S_INCORRECT_LUN; break; case SG_ERR_DID_ABORT: - case SG_ERR_DID_TIME_OUT: req->resp.cmd.response = VIRTIO_SCSI_S_ABORTED; break; case SG_ERR_DID_BAD_TARGET: @@ -517,6 +516,7 @@ static void virtio_scsi_command_complete(SCSIRequest *r, uint32_t status, req->resp.cmd.response = VIRTIO_SCSI_S_RESET; break; case SG_ERR_DID_BUS_BUSY: + case SG_ERR_DID_TIME_OUT: req->resp.cmd.response = VIRTIO_SCSI_S_BUSY; break; case SG_ERR_DID_TRANSPORT_DISRUPTED:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor