From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HO6H2-0001Yf-PE for qemu-devel@nongnu.org; Mon, 05 Mar 2007 01:02:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HO6H0-0001W4-Um for qemu-devel@nongnu.org; Mon, 05 Mar 2007 01:02:15 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HO6H0-0001Vq-KL for qemu-devel@nongnu.org; Mon, 05 Mar 2007 01:02:14 -0500 Received: from honiara.magic.fr ([195.154.193.36]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HO6Gz-0000h4-VZ for qemu-devel@nongnu.org; Mon, 05 Mar 2007 01:02:14 -0500 Subject: Re: [Qemu-devel] Proposal: option for CPU selection From: "J. Mayer" In-Reply-To: <45EB0D7A.2090702@bellard.org> References: <1173005754.21159.24.camel@rapid> <45EB0D7A.2090702@bellard.org> Content-Type: text/plain Date: Mon, 05 Mar 2007 07:02:11 +0100 Message-Id: <1173074531.21159.49.camel@rapid> Mime-Version: 1.0 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 On Sun, 2007-03-04 at 19:18 +0100, Fabrice Bellard wrote: > OK. Except that I would prefer "-cpu" instead of "-C". OK; I choosed -C for "symetry" with the machine selection option (-M) but -cpu is OK for me... > 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. -- J. Mayer Never organized