From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HJ7Fp-0007X4-Ih for qemu-devel@nongnu.org; Mon, 19 Feb 2007 07:04:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HJ7Fo-0007Wg-Cd for qemu-devel@nongnu.org; Mon, 19 Feb 2007 07:04:24 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJ7Fo-0007Wc-7n for qemu-devel@nongnu.org; Mon, 19 Feb 2007 07:04:24 -0500 Received: from brick.kernel.dk ([62.242.22.158] helo=kernel.dk) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HJ7Fn-0001FM-KI for qemu-devel@nongnu.org; Mon, 19 Feb 2007 07:04:23 -0500 Date: Mon, 19 Feb 2007 13:04:12 +0100 From: Jens Axboe Subject: Re: [Qemu-devel] qemu/hw ide.c Message-ID: <20070219120412.GH17728@kernel.dk> References: <20070219083915.GF17728@kernel.dk> <20070219115745.GB1857@networkno.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070219115745.GB1857@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: Thiemo Seufer Cc: qemu-devel@nongnu.org On Mon, Feb 19 2007, Thiemo Seufer wrote: > Jens Axboe wrote: > > On Mon, Feb 19 2007, Thiemo Seufer wrote: > > > CVSROOT: /sources/qemu > > > Module name: qemu > > > Changes by: Thiemo Seufer 07/02/19 00:59:34 > > > > > > Modified files: > > > hw : ide.c > > > > > > Log message: > > > Ignore special flags in nsector variable. > > > > > > CVSWeb URLs: > > > http://cvs.savannah.gnu.org/viewcvs/qemu/hw/ide.c?cvsroot=qemu&r1=1.53&r2=1.54 > > > > 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. -- Jens Axboe