From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v3 1/2] virtio-scsi: first version Date: Mon, 19 Dec 2011 16:17:50 +0100 Message-ID: <4EEF559E.2040709@redhat.com> References: <1324296188-3426-1-git-send-email-pbonzini@redhat.com> <1324296188-3426-2-git-send-email-pbonzini@redhat.com> <4EEF2C86.6010003@suse.de> <4EEF380E.6040101@redhat.com> <4EEF5192.50201@interlog.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.redhat.com ([209.132.183.28]:1411 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751378Ab1LSPSk (ORCPT ); Mon, 19 Dec 2011 10:18:40 -0500 In-Reply-To: <4EEF5192.50201@interlog.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: dgilbert@interlog.com Cc: Hannes Reinecke , linux-kernel@vger.kernel.org, "Michael S. Tsirkin" , linux-scsi , Rusty Russell , Stefan Hajnoczi , Mike Christie On 12/19/2011 04:00 PM, Douglas Gilbert wrote: >> >> This happens when you send an INQUIRY with a sglist of 255 bytes and an >> ALLOCATION LENGTH of 300 bytes. The spec says "VIRTIO_SCSI_S_UNDERRUN [is >> returned] if the content of the CDB requires transferring more data >> than is >> available in the data buffers". > > Overrun! That is overrun. We're still in time to fix the spec. Thanks. Paolo