From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROCFQ-0006ps-Mq for qemu-devel@nongnu.org; Wed, 09 Nov 2011 12:47:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ROCFP-0001hU-31 for qemu-devel@nongnu.org; Wed, 09 Nov 2011 12:47:40 -0500 Received: from mail-gx0-f173.google.com ([209.85.161.173]:33313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROCFO-0001h9-Uh for qemu-devel@nongnu.org; Wed, 09 Nov 2011 12:47:38 -0500 Received: by ggnp2 with SMTP id p2so2220304ggn.4 for ; Wed, 09 Nov 2011 09:47:37 -0800 (PST) Sender: Paolo Bonzini Message-ID: <4EBABCB0.9020604@redhat.com> Date: Wed, 09 Nov 2011 18:47:28 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <97434157032187@192.168.2.69> In-Reply-To: <97434157032187@192.168.2.69> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Summary of CD, DVD passthrough tests with -drive if=scsi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Schmitt Cc: kwolf@redhat.com, stefanha@gmail.com, qemu-devel@nongnu.org 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