From 4792b7e9d5254daa383cb38d60d79c2b000ca9fc Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Mon, 7 Mar 2016 15:50:22 +0000 Subject: 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 Message-Id: <1457365822-22435-1-git-send-email-apyrgio@arrikto.com> Signed-off-by: Paolo Bonzini --- hw/scsi/scsi-bus.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hw/scsi/scsi-bus.c') diff --git a/hw/scsi/scsi-bus.c b/hw/scsi/scsi-bus.c index 6dcdbc0508..a21752b67e 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; -- cgit v1.2.3