John Snow 9ef2e93f9b atapi: abort transfers with 0 byte limits
We're supposed to abort on transfers like this, unless we fill
Word 125 of our IDENTIFY data with a default transfer size, which
we don't currently do.

This is an ATA error, not a SCSI/ATAPI one.
See ATA8-ACS3 sections 7.17.6.49 or 7.21.5.

If we don't do this, QEMU will loop forever trying to transfer
zero bytes, which isn't particularly useful.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 1442253685-23349-2-git-send-email-jsnow@redhat.com
2015-09-18 10:58:56 -04:00
..
2015-09-17 14:17:04 -04:00
2015-03-10 14:01:22 +00:00
2015-05-22 15:58:22 -04:00
2015-07-31 16:38:50 -04:00
2014-10-24 12:19:11 +01:00
2015-07-04 02:06:04 -04:00
2015-03-10 14:01:22 +00:00