Received: from eggs.gnu.org ([208.118.235.92]:40969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYFXx-0002Ka-Hu for qemu-devel@nongnu.org; Tue, 13 Nov 2012 07:24:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYFXu-0001PK-FG for qemu-devel@nongnu.org; Tue, 13 Nov 2012 07:24:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYFXu-0001P8-7S for qemu-devel@nongnu.org; Tue, 13 Nov 2012 07:24:50 -0500 Date: Tue, 13 Nov 2012 10:25:58 -0200 From: Eduardo Habkost Message-ID: <20121113122558.GM3149@otherpad.lan.raisama.net> References: <1334421743-31146-1-git-send-email-peter.maydell@linaro.org> <1334421743-31146-3-git-send-email-peter.maydell@linaro.org> <20121112221619.GH8231@otherpad.lan.raisama.net> <20121112223342.GK3149@otherpad.lan.raisama.net> <50A2344F.3000800@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 01/14] target-arm: Add QOM subclasses for each ARM cpu implementation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Paul Brook , Anthony Liguori , Andreas =?iso-8859-1?Q?F=E4rber?= , patches@linaro.org, qemu-devel@nongnu.org On Tue, Nov 13, 2012 at 12:17:00PM +0000, Peter Maydell wrote: > On 13 November 2012 11:51, Andreas F=E4rber wrote: > > Am 12.11.2012 23:33, schrieb Eduardo Habkost: > >> In that case, "cpu-any" wouldn't work, either. What about > >> "-cpu-"? > > > > Fine with me. However, keep in mind the previous approach was used fo= r > > command line compatibility: I would like to continue using -cpu > > cortex-a9 rather than -cpu arm-cpu-cortex-a9. :) >=20 > Yes, we need to maintain the command line names as-is. ACK. >=20 > > If we introduce a more complex command-line-to-class mapping, can't w= e > > drop these ominous "any" CPUs altogether? For my understanding they w= ere > > used as wildcard CPUs for *-user. We could do the same by instantiati= ng > > a real CPU like "cortex-a15" and possibly enabling some additional > > features afterwards. >=20 > I don't see what that gains us. The easiest way to say "it's > a cpu with all the feature bits turned on" is to define it as > a cpu with all the feature bits turned on :-) This sounds similar to "-cpu host" on x86. The difference is that on x86 with KVM, we depend on host capabilities to know which features can be enabled (so on x86 it's not "a cpu with all the feature bits turned on", but "a cpu with all the feature bits _we can safely enable_ turned on"). >=20 > -- PMM --=20 Eduardo