Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JH37B-0001tK-Ir for qemu-devel@nongnu.org; Mon, 21 Jan 2008 15:19:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JH379-0001rR-Nc for qemu-devel@nongnu.org; Mon, 21 Jan 2008 15:19:28 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JH379-0001rD-Ik for qemu-devel@nongnu.org; Mon, 21 Jan 2008 15:19:27 -0500 Received: from smtp4-g19.free.fr ([212.27.42.30]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JH379-0001Qe-9d for qemu-devel@nongnu.org; Mon, 21 Jan 2008 15:19:27 -0500 Received: from smtp4-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp4-g19.free.fr (Postfix) with ESMTP id 306693EC71A for ; Mon, 21 Jan 2008 21:19:26 +0100 (CET) Received: from pc-amd64.local (mla78-3-88-162-84-61.fbx.proxad.net [88.162.84.61]) by smtp4-g19.free.fr (Postfix) with ESMTP id 4E2043EB646 for ; Mon, 21 Jan 2008 21:19:19 +0100 (CET) From: Even Rouault Subject: Re: [Qemu-devel] PS/2 mouse support for FC4 guest broken in QEMU 0.9.1 Date: Mon, 21 Jan 2008 21:19:16 +0100 References: <200801202158.06765.even.rouault@mines-paris.org> <200801202327.36331.even.rouault@mines-paris.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200801212119.17652.even.rouault@mines-paris.org> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Thanks for the tutorial on how to use git bisection ;-) In fact, whatever version control system you use, I think you spend most of= =20 time recompiling and testing stuff... Anyway, on the core problem I'm pointing out, does someone have any clue on= =20 what should be done ? Should the revision 1.24 of=20 hw/pckbd.c ("QEMU keyboard issue with Gujin-2.2") be reverted ? Is there a = way=20 to get FC4 to work again, and "Gujin" at the same time ? Is the patch of=20 revision 1.24 the right fix for Gujin and another additionnal fix is requir= ed=20 for the FC4 issue (presumably related to Linux kernel version 2.6.11) or=20 should it be reverted and a better fix found for Gujin ? I tried to follow the discussion about that topic=20 (http://www.mail-archive.com/qemu-devel%40nongnu.org/msg12455.html) but I'm= =20 afraid I'm lost in the details. Best regards Le Monday 21 January 2008 00:54:27, vous avez =E9crit=A0: > Hi, > > On Sun, 20 Jan 2008, Even Rouault wrote: > > After quite a lot of CVS bisection, [...] > > Not wanting to advertise git, but to help other people needing to bisect > efficiently: here is a recipe how to do this with git. > > 1. get git (obviously) > > 2. $ git clone git://repo.or.cz/qemu.git/ > (it is a git mirror of git://git.kernel.dk/data/git/qemu.git, so if you > do not want to be nice to Jens' server, you can go there directly) > > 3. Find out what was the last good revision. If you have an approximate > date take the first "commit" of the output of > > $ cd qemu/ > $ git log --until=3D"2007/09/07" > > (It would show a line beginning with "commit " and followed by a > 40-character hex sequence; copy that sequence) > > 4. Start the bisection > > $ git bisect start > $ git bisect bad HEAD > $ git bisect good 85f8a4e8bae4df3983a5f1efd62b7942417bb89b > > Obviously, you have to use the sequence you copied in 3. > > 5. Compile, test, and call > > $ git bisect good > > or > > $ git bisect bad > > after the test, depending if the tested revision is good or -- you > guessed it -- bad. > > 6. Repeat 5. until git tells you which is probably the bad commit. Then > scrap this clone, or go back to the CVS HEAD with > > $ git bisect reset > > You are literally guaranteed to test the minimal amount of revisions with > this procedure. > > Hth, > Dscho