On 11/06/2011 12:26 PM, Thomas Schmitt wrote:
* DRIVE FREEZER
* GUEST KILLER
SEND CUE SHEET
* DRIVE FREEZER
* GUEST KILLER
SET STREAMING
* ANNOYING
READ DISC STRUCTURE
* SHOWSTOPPER
FORMAT UNIT
I fixed all of these; only these remain:
* UGLY
Failure to deliver progress of Blanking DVD-RW via REQUEST SENSE.
REQUEST SENSE
03 00 00 00 12 00
From drive: 18b
f0 00 00 00 00 00 00 0a 00 00 00 00 00 00 00 00 00 00
0 ms
TEST UNIT READY delivers the desired information.
DVD+R
* GUEST KILLER
* MEDIUM KILLER
Guest freezes, medium has unwritten open reserved track after
RESERVE TRACK
53 00 00 00 00 00 00 0f 30 00
Mode page 2A of emulated ATAPI DVD-ROM should have page length 0x14
like SCSI CD-ROM, rather than 0x12. (Just add two 0-bytes to its end
and adkust the size dependent fields.)
MODE SENSE(6) should be thrown out of ATAPI DVD-ROM emulation.
Its implementation is wrong. It is not specified in the ATAPI list
of MMC-2. MMC-5 prescribes to use MODE SENSE(10).
The bugs were simply that QEMU did not compute the length of the command
payload correctly.
Paolo