Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:ARM
qemu.35260
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.35260
From: Bruce Rogers <brogers@suse.com> Date: Wed, 3 Feb 2021 14:25:38 -0700 Subject: virtio-scsi: change DID TIMEOUT handling References: bsc#1178049,bsc#1194938 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: Lin Ma <lma@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 b8c1fe9eef907f4b90397bf98a1a..2ba3af315fdb90d045653845178c 100644 --- a/hw/scsi/virtio-scsi.c +++ b/hw/scsi/virtio-scsi.c @@ -514,7 +514,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: @@ -524,6 +523,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