qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@amd.com>
To: Glauber Costa <glommer@gmail.com>
Cc: kvm@vger.kernel.org, Avi Kivity <avi@redhat.com>, qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH] introduce kvm64 CPU
Date: Fri, 21 Aug 2009 23:53:41 +0200	[thread overview]
Message-ID: <4A8F1765.6060306@amd.com> (raw)
In-Reply-To: <5d6222a80908210901n127ec497hb858225021921495@mail.gmail.com>

Glauber Costa wrote:
> On Fri, Aug 21, 2009 at 12:41 PM, Avi Kivity<avi@redhat.com> wrote:
>> On 08/21/2009 12:34 AM, Andre Przywara wrote:
>>> In addition to the TCG based qemu64 type let's introduce a kvm64 CPU type,
>>> which is the least common denominator of all KVM-capable x86-CPUs
>>> (based on Intel Pentium 4 Prescott). It can be used as a base type
>>> for migration.
>>>
>> Typically users will want more specialized greatest common denomiator cpu
>> types; if a site has standardized on recent hardware they will want the
>> features of that hardware exposed.
>>
>> I think this is best left to management software, which has more information
>> about the migration pool.
> I believe what we want is an automatic tool that will connect to a
> list of machines,and determine which qemu cpu type we should use.
 > Doesn't sound like black magic...
I already have such a basic tool. It uses ssh (with pubkey) to connect 
to the target machine, then uses dd on /dev/cpu/0/cpuid to get the CPUID 
info. This requires cpuid.ko to be loaded and the permissions on the 
device file to be sufficient (the appropriate udev patch is already 
upstream). It then computes the least common denominator bits from 
several machines.
Were you thinking of that approach or do you want to include this host 
CPUID functionality into QEMU (somehow embedded in the migration handler)?

Regards,
Andre.

-- 
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 488-3567-12
----to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Jochen Polster; Thomas M. McCoy; Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

  reply	other threads:[~2009-08-21 21:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-20 21:34 [Qemu-devel] [PATCH] introduce kvm64 CPU Andre Przywara
2009-08-21 13:33 ` [Qemu-devel] " Jamie Lokier
2009-08-21 14:23   ` Andre Przywara
2009-08-22  1:45     ` Jamie Lokier
2009-08-21 15:41 ` Avi Kivity
2009-08-21 16:01   ` Glauber Costa
2009-08-21 21:53     ` Andre Przywara [this message]
2009-08-23  9:03       ` Avi Kivity
2009-08-23 13:20       ` Amit Shah
2009-08-21 21:59   ` Andre Przywara
2009-08-23  9:05     ` Avi Kivity
2009-08-23 12:47       ` Jamie Lokier
2009-08-22  1:03   ` Jamie Lokier

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=4A8F1765.6060306@amd.com \
    --to=andre.przywara@amd.com \
    --cc=avi@redhat.com \
    --cc=glommer@gmail.com \
    --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).