From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HJ7Xp-0005ur-Is for qemu-devel@nongnu.org; Mon, 19 Feb 2007 07:23:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HJ7Xn-0005tt-Vl for qemu-devel@nongnu.org; Mon, 19 Feb 2007 07:23:01 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJ7Xn-0005tm-Pl for qemu-devel@nongnu.org; Mon, 19 Feb 2007 07:22:59 -0500 Received: from phoenix.bawue.net ([193.7.176.60] helo=mail.bawue.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HJ7Xn-0004Fz-Cy for qemu-devel@nongnu.org; Mon, 19 Feb 2007 07:22:59 -0500 Date: Mon, 19 Feb 2007 12:24:53 +0000 From: Thiemo Seufer Subject: Re: [Qemu-devel] qemu/hw ide.c Message-ID: <20070219122453.GE1857@networkno.de> References: <20070219083915.GF17728@kernel.dk> <20070219115745.GB1857@networkno.de> <20070219120412.GH17728@kernel.dk> <20070219122333.GD1857@networkno.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070219122333.GD1857@networkno.de> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jens Axboe Cc: qemu-devel@nongnu.org Thiemo Seufer wrote: [snip] > > > > Why is nsector uint32_t to begin with? > > > > > > Because nobody sent a patch to fix it, I figure. > > > > Actually I seem to recall it's because it's being overloaded for > > requests that are > 256 sectors. It would be a good cleanup to get rid > > of that an turn nsector into a proper uint8_t. > > It appears to use 16k bits in some cases. I won't fiddle with it myself 16bits, or 64k, that is. Thiemo