qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: john cooper <john.cooper@redhat.com>
To: Jamie Lokier <jamie@shareable.org>,
	Anthony Liguori <anthony@codemonkey.ws>
Cc: john.cooper@redhat.com, "Przywara,
	Andre" <Andre.Przywara@amd.com>,
	qemu-devel@nongnu.org, KVM list <kvm@vger.kernel.org>
Subject: Re: [Qemu-devel] [PATCH] Add definitions for current cpu models..
Date: Wed, 20 Jan 2010 15:09:19 -0500	[thread overview]
Message-ID: <4B5762EF.5020106@redhat.com> (raw)
In-Reply-To: <20100119221124.GA11920@shareable.org>

Jamie Lokier wrote:
> Anthony Liguori wrote:
>> On 01/18/2010 10:45 AM, john cooper wrote:
>>>     x86           Conroe  Intel Celeron_4x0 (Conroe/Merom Class Core 2)
>>>     x86           Penryn  Intel Core 2 Duo P9xxx (Penryn Class Core 2)
>>>     x86          Nehalem  Intel Core i7 9xx (Nehalem Class Core i7)
>>>     x86       Opteron_G1  AMD Opteron 240 (Gen 1 Class Opteron)
>>>     x86       Opteron_G2  AMD Opteron 22xx (Gen 2 Class Opteron)
>>>     x86       Opteron_G3  AMD Opteron 23xx (Gen 3 Class Opteron)
>> I'm very much against having -cpu Nehalem.  The whole point of this is 
>> to make things easier for a user and for most of the users I've 
>> encountered, -cpu Nehalem is just as obscure as -cpu qemu64,-sse3,+vmx,...
> 
> When I saw that table just now, I had no idea whether Nehalem is newer
> and more advanced than Penryn, or the other way around.  I also have
> no idea if "Core i7" is newer than "Core 2 Duo" or not.

I can appreciate the argument above, however the goal was
choosing names with some basis in reality.  These were
recommended by our contacts within Intel, are used by VmWare
to describe their similar cpu models, and arguably have fallen
to defacto usage as evidenced by such sources as:

    http://en.wikipedia.org/wiki/Conroe_(microprocessor)
    http://en.wikipedia.org/wiki/Penryn_(microprocessor)
    http://en.wikipedia.org/wiki/Nehalem_(microarchitecture)

I suspect whatever we choose of reasonable length as a model
tag for "-cpu" some further detail is going to be required.
That was the motivation to augment the table as above with
an instance of a LCD for that associated class.
 
> I'm not a typical user: I know quite a lot about x86 architecture;
> I just haven't kept up to date enough to know the code/model names.
> Typical users will know less about them.

Understood.  One thought I had to further clarify what is going
on under the hood was to dump the cpuid flags for each model as
part of (or in addition to) the above table.  But this seems a
bit extreme and kvm itself can modify flags exported from qemu
to a guest.

-john

-- 
john.cooper@redhat.com

  reply	other threads:[~2010-01-20 20:13 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-18 16:45 [Qemu-devel] [PATCH] Add definitions for current cpu models john cooper
2010-01-19 19:39 ` Anthony Liguori
2010-01-19 20:03   ` Chris Wright
2010-01-19 22:12     ` Jamie Lokier
2010-01-19 22:20       ` Chris Wright
2010-01-19 22:25     ` Anthony Liguori
2010-01-20  0:15       ` Chris Wright
2010-01-20 14:21         ` Anthony Liguori
2010-01-20 14:27           ` Gleb Natapov
2010-01-20  1:38       ` Jamie Lokier
2010-01-20 20:09       ` john cooper
2010-01-20 20:26         ` Daniel P. Berrange
2010-01-20 20:53           ` Anthony Liguori
2010-01-21  0:25           ` Chris Wright
2010-01-21  1:18             ` john cooper
2010-01-21 14:39               ` Andre Przywara
2010-01-21 17:06                 ` Blue Swirl
2010-01-21 15:05               ` Anthony Liguori
2010-01-21 16:43                 ` john cooper
2010-01-21 18:59                   ` Anthony Liguori
2010-01-25  9:08                 ` Dor Laor
2010-01-25 11:27                   ` Jamie Lokier
2010-01-25 14:21                   ` Anthony Liguori
2010-01-25 22:35                     ` Dor Laor
2010-01-26  8:26                       ` Gerd Hoffmann
2010-01-26 12:54                         ` Anthony Liguori
2010-01-28  8:19                   ` Arnd Bergmann
2010-01-28  8:43                     ` Alexander Graf
2010-01-28 10:09                       ` Arnd Bergmann
2010-01-28 14:10                       ` Anthony Liguori
2010-01-19 22:11   ` Jamie Lokier
2010-01-20 20:09     ` john cooper [this message]
2010-01-21 17:50       ` Jamie Lokier
2010-01-21 18:13       ` Jamie Lokier
2010-01-21 18:36         ` john cooper
2010-01-19 22:15 ` Jamie Lokier
2010-01-20 20:11   ` john cooper
2010-01-21 17:55     ` Jamie Lokier
2010-01-21 18:34       ` john cooper
2010-01-20 23:20 ` [Qemu-devel] " Arnd Bergmann
  -- strict thread matches above, loose matches on Subject: below --
2009-12-21  6:46 [Qemu-devel] " john cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B5762EF.5020106@redhat.com \
    --to=john.cooper@redhat.com \
    --cc=Andre.Przywara@amd.com \
    --cc=anthony@codemonkey.ws \
    --cc=jamie@shareable.org \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).