From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37669) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aIZ3W-0000pk-M7 for qemu-devel@nongnu.org; Mon, 11 Jan 2016 04:46:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aIZ3V-0007dI-NT for qemu-devel@nongnu.org; Mon, 11 Jan 2016 04:46:30 -0500 References: <1451359934-9236-1-git-send-email-lszhu@suse.com> <568C1C9A.7090802@redhat.com> <568D556D.2090408@redhat.com> <568E38FE.1080408@redhat.com> <56936C8B.3020305@kamp.de> From: Paolo Bonzini Message-ID: <569379E7.7010701@redhat.com> Date: Mon, 11 Jan 2016 10:46:15 +0100 MIME-Version: 1.0 In-Reply-To: <56936C8B.3020305@kamp.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-block] [PATCH] send readcapacity10 when readcapacity16 failed List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Lieven , John Snow , Zhu Lingshan Cc: qemu-block@nongnu.org, ronnie sahlberg , qemu-devel On 11/01/2016 09:49, Peter Lieven wrote: > > + if (task != NULL && task->status == SCSI_STATUS_CHECK_CONDITION > > + && task->sense.key == SCSI_SENSE_UNIT_ATTENTION) { > > + break; > > + } > > Paolo, Ronnie, do you know what Readcapacity(10) returns if the target > blocks count is greater than what can be described in 32bit? Yes, it returns 0xFFFFFFFF. > Anyway, is there a new version of this patch? I would also like to have a look > before it is commited. See https://github.com/bonzini/qemu/commit/1efcbda37. Paolo