Received: from eggs.gnu.org ([140.186.70.92]:39835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsA0x-0003N7-JV for qemu-devel@nongnu.org; Tue, 31 Jan 2012 04:28:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsA0r-0002M7-Ln for qemu-devel@nongnu.org; Tue, 31 Jan 2012 04:28:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsA0r-0002Lr-F8 for qemu-devel@nongnu.org; Tue, 31 Jan 2012 04:28:29 -0500 From: Markus Armbruster References: <1327308641-14736-1-git-send-email-hpoussin@reactos.org> <1327308641-14736-2-git-send-email-hpoussin@reactos.org> <4F2304DB.2070105@reactos.org> Date: Tue, 31 Jan 2012 10:28:26 +0100 In-Reply-To: <4F2304DB.2070105@reactos.org> (=?utf-8?Q?=22Herv=C3=A9?= Poussineau"'s message of "Fri, 27 Jan 2012 21:11:07 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 1/9] fdc: take side count into account List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Herv=C3=A9?= Poussineau Cc: Kevin Wolf , qemu-devel@nongnu.org Herv=C3=A9 Poussineau writes: > Markus Armbruster a =C3=A9crit : >> Herv=C3=A9 Poussineau writes: >> >>> Floppies can be simple or double-sided. However, current code >>> was only taking the common case into account (ie 2 sides). >> >> Impact? > > This repairs single-sided floppies > >> Are single sided floppies broken before the patch? How? > > Yes. For head > 0, wrong sector number is calculated, so data is > read/written at wrong place on underlying block device. > > Fortunately, mostly nobody is still using single-sided floppies (only > some 360 kB floppies are single-sided), so bug has been neglected > since a long time. Nice info, thanks. Best put it in the commit message.