From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NXllD-0008Lf-DI for qemu-devel@nongnu.org; Wed, 20 Jan 2010 20:22:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NXll8-0008HI-Bm for qemu-devel@nongnu.org; Wed, 20 Jan 2010 20:22:58 -0500 Received: from [199.232.76.173] (port=36679 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NXll8-0008H6-2t for qemu-devel@nongnu.org; Wed, 20 Jan 2010 20:22:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:6916) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NXll7-0001LJ-93 for qemu-devel@nongnu.org; Wed, 20 Jan 2010 20:22:53 -0500 Message-ID: <4B57AB66.30802@redhat.com> Date: Wed, 20 Jan 2010 20:18:30 -0500 From: john cooper MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Add definitions for current cpu models.. References: <4B549016.6090501@redhat.com> <4B560A88.9@codemonkey.ws> <20100119200349.GG3204@sequoia.sous-sol.org> <4B563144.9030803@codemonkey.ws> <4B576311.3030906@redhat.com> <20100120202634.GA20754@redhat.com> <20100121002509.GM3204@sequoia.sous-sol.org> In-Reply-To: <20100121002509.GM3204@sequoia.sous-sol.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Chris Wright Cc: "Przywara, Andre" , KVM list , john.cooper@redhat.com, qemu-devel@nongnu.org Chris Wright wrote: > * Daniel P. Berrange (berrange@redhat.com) wrote: >> To be honest all possible naming schemes for '-cpu ' are just as >> unfriendly as each other. The only user friendly option is '-cpu host'. >> >> IMHO, we should just pick a concise naming scheme & document it. Given >> they are all equally unfriendly, the one that has consistency with vmware >> naming seems like a mild winner. > > Heh, I completely agree, and was just saying the same thing to John > earlier today. May as well be -cpu {foo,bar,baz} since the meaning for > those command line options must be well-documented in the man page. I can appreciate the concern of wanting to get this as "correct" as possible. But ultimately we just need three unique tags which ideally have some relation to their associated architectures. The diatribes available from /proc/cpuinfo while generally accurate don't really offer any more of a clue to the model group, and in their unmodified form are rather unwieldy as command line flags. > This is from an EVC kb article[1]: Here is a pointer to a more detailed version: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003212 We probably should also add an option to dump out the full set of qemu-side cpuid flags for the benefit of users and upper level tools. -john -- john.cooper@redhat.com