From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CUBHU-0004U5-55 for qemu-devel@nongnu.org; Tue, 16 Nov 2004 16:54:32 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CUBHT-0004Tx-SR for qemu-devel@nongnu.org; Tue, 16 Nov 2004 16:54:31 -0500 Received: from [129.104.30.34] (helo=mx1.polytechnique.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CUB8Q-0003ux-Bx for qemu-devel@nongnu.org; Tue, 16 Nov 2004 16:45:10 -0500 Received: from localhost (localhost [127.0.0.1]) by djali.polytechnique.org (Postfix) with ESMTP id A69783319B for ; Tue, 16 Nov 2004 22:45:09 +0100 (CET) Received: from djali.polytechnique.org ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 08648-08 for ; Tue, 16 Nov 2004 22:45:09 +0100 (CET) Received: from bellard.org (unknown [84.99.204.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTP id 6F21833188 for ; Tue, 16 Nov 2004 22:45:09 +0100 (CET) Message-ID: <419A74EF.9010008@bellard.org> Date: Tue, 16 Nov 2004 22:45:19 +0100 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] qemu-img documentation References: <41993485.6060704@bellard.org> <41e41e7a041115150417b7468d@mail.gmail.com> <41995BF4.7020102@bellard.org> <4199B04F.8020307@railnet.it> <419A1A03.9010707@brittainweb.org> In-Reply-To: <419A1A03.9010707@brittainweb.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Jason Brittain wrote: > ML wrote: > >> --- >> Fabrice Bellard said the following on 11/16/2004 02:46 AM: >> >>> Try my last fix. The important fix is in >>> hw/ide.c:ide_guess_geometry(). I think the problem is that after >>> reboot when installing ide_guess_geometry() returns an invalid >>> geometry because the BIOS translated geometry is stored in the MBR >>> instead of the real hard disk geometry. >>> >>> For the desperate user, I added an option to manually specify the >>> BIOS translation mode. >> >> >> With this fix now I can boot XP images newly created with 0.6.1 but I >> can't boot any longer my older images created with versions < 0.6.1 >> unless I specify hda geometry on the command line. > > > This is going to cause lots of people to not be able to figure out > how to use qemu anymore after an upgrade. For example, even if I > knew that I needed to use the -hdachs option (pronounced "headaches"), > how would I know what geometry numbers to give it? I'm not real > good with this sort of thing, and I haven't found any docs yet that > try to explain it from the perspective of a VM user. I know, I know, > you can't have everything. But, I do think this will cause users > repeated hdachs. :) I can do the following: - The default translation will be 'none', so that older images will be usable without problems (but not the ones created recently). - there will be a separate option '-hdatranslation' to change the default translation to use 0.6.1 images and to use old OSes such as NT 4.0. Fabrice.