From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=56653 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGqRH-0008Pk-9U for qemu-devel@nongnu.org; Fri, 12 Nov 2010 05:01:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGqRG-00039H-AG for qemu-devel@nongnu.org; Fri, 12 Nov 2010 05:00:59 -0500 Received: from mail-fx0-f45.google.com ([209.85.161.45]:60994) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGqRG-000397-48 for qemu-devel@nongnu.org; Fri, 12 Nov 2010 05:00:58 -0500 Received: by fxm18 with SMTP id 18so2184662fxm.4 for ; Fri, 12 Nov 2010 02:00:57 -0800 (PST) Sender: Paolo Bonzini Message-ID: <4CDD1057.7060103@redhat.com> Date: Fri, 12 Nov 2010 11:00:55 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <4C5EACF8.1010101@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [patch] fix scsi-generic List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: adq Cc: qemu-devel@nongnu.org On 08/09/2010 01:51 AM, adq wrote: > Figured out what the problem is - READ DVD STRUCTURE has its xfer > length in an unexpected place, so hw/scsi-bus.c retrieves completely > the wrong value for the transfer length. Attached nasty hacky (!) > patch fixes it as a proof of concept, will see what I can do to clean > it up later. I'd probably want it to warn if it sees SCSI commands it > doesn't know how to explicitly handle to aid debugging this sort of > thing in future. Hi Andrew, are you going to submit a similar patch in definitive form? Paolo