From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HNvHy-0008H7-E8 for qemu-devel@nongnu.org; Sun, 04 Mar 2007 13:18:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HNvHw-0008Gv-33 for qemu-devel@nongnu.org; Sun, 04 Mar 2007 13:18:29 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HNvHv-0008Gs-UO for qemu-devel@nongnu.org; Sun, 04 Mar 2007 13:18:27 -0500 Received: from sp604005mt.neufgp.fr ([84.96.92.11] helo=smtp.Neuf.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HNvHv-0005lC-Ix for qemu-devel@nongnu.org; Sun, 04 Mar 2007 13:18:27 -0500 Received: from [84.102.211.132] by sp604005mt.gpm.neuf.ld (Sun Java System Messaging Server 6.2-5.05 (built Feb 16 2006)) with ESMTP id <0JEE00BZZ5ICSRQ0@sp604005mt.gpm.neuf.ld> for qemu-devel@nongnu.org; Sun, 04 Mar 2007 19:18:12 +0100 (CET) Date: Sun, 04 Mar 2007 19:18:34 +0100 From: Fabrice Bellard Subject: Re: [Qemu-devel] Proposal: option for CPU selection In-reply-to: <1173005754.21159.24.camel@rapid> Message-id: <45EB0D7A.2090702@bellard.org> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT References: <1173005754.21159.24.camel@rapid> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: l_indien@magic.fr Cc: qemu-devel@nongnu.org OK. Except that I would prefer "-cpu" instead of "-C". Regards, Fabrice. J. Mayer wrote: > Here's a patch that allow the user to specify a specific CPU > model/variant on the command line. > This makes different CPU tests less painfull, as the current code need a > recompilation for this. > This patch only has an actual effect when using the PowerPC target, as I > don't want to break other targets, but would be imho easy to implement > for all targets. > It just adds a -C facultative option to the command line and > a new parameter to the machine->init callback. A machine can then ignore > this parameter or tune the emulated CPU based on the given CPU model. > > Any comments will be welcome but I'd like to insist that such an option > would really be useful, at least for testing purposes.