aboutsummaryrefslogtreecommitdiff
path: root/hw/scsi/scsi-bus.c
diff options
context:
space:
mode:
authorAlex Pyrgiotis <apyrgio@arrikto.com>2016-03-07 15:50:22 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2016-03-07 17:56:23 +0100
commit4792b7e9d5254daa383cb38d60d79c2b000ca9fc (patch)
tree7e49b80e86e59e38d353a8a2f39857780f0fddbe /hw/scsi/scsi-bus.c
parent8269fb7082f49b5facddbbe1072bc382b2741add (diff)
downloadqemu-4792b7e9d5254daa383cb38d60d79c2b000ca9fc.zip
qemu-4792b7e9d5254daa383cb38d60d79c2b000ca9fc.tar.gz
qemu-4792b7e9d5254daa383cb38d60d79c2b000ca9fc.tar.bz2
scsi-bus: Remove tape command from scsi_req_xfer
Remove the RECOVER_BUFFERED_DATA command from the list of commands that are handled by scsi_req_xfer(). Given that this command is tape-specific, it should be handled only by scsi_stream_req_xfer(). Signed-off-by: Alex Pyrgiotis <apyrgio@arrikto.com> Message-Id: <1457365822-22435-1-git-send-email-apyrgio@arrikto.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/scsi/scsi-bus.c')
-rw-r--r--hw/scsi/scsi-bus.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/scsi/scsi-bus.c b/hw/scsi/scsi-bus.c
index 6dcdbc0..a21752b 100644
--- a/hw/scsi/scsi-bus.c
+++ b/hw/scsi/scsi-bus.c
@@ -989,7 +989,6 @@ static int scsi_req_xfer(SCSICommand *cmd, SCSIDevice *dev, uint8_t *buf)
}
/* fall through */
case READ_10:
- case RECOVER_BUFFERED_DATA:
case READ_12:
case READ_16:
cmd->xfer *= dev->blocksize;