public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Glauber Costa <glommer@gmail.com>
Cc: Anthony Liguori <anthony@codemonkey.ws>,
	Bryan McLellan <btm@loftninjas.org>,
	kvm@vger.kernel.org
Subject: Re: Accessing pv_info from userland
Date: Wed, 04 Feb 2009 16:16:21 +0200	[thread overview]
Message-ID: <4989A335.6020303@redhat.com> (raw)
In-Reply-To: <5d6222a80902030702k4354f75eoc49f3d03fe98629c@mail.gmail.com>

Glauber Costa wrote:
> On Tue, Feb 3, 2009 at 8:50 AM, Avi Kivity <avi@redhat.com> wrote:
>   
>> Glauber Costa wrote:
>>     
>>> What for? We already expose a QEMU cpu type that shows up in cpuinfo as
>>> so.
>>> All we'd have to do would be put the kvm information in the cpu type
>>> too. This would work
>>> in all kernels, without the need to patch.
>>>
>>>       
>> For client virtualization (no migration) we'll want to support a mode where
>> we let the guest see the host cpuid (or as much of it as we can).
>>     
>
> And how exactly does that invalidate what I've said ?
>   

You'll want to expose AuthenticIntel or GenuineAMD (with the full cpu 
brand string) in this model.  So no TheOneTrueQEMU cpu type.

> As we can select the cpu type, we can easily pick one that expose as
> much of the underlying cpu
> as possible.
>   

This includes the cpu type...

Hypervisor presence and type is in addition to the cpu type, not a 
replacement.

-- 
error compiling committee.c: too many arguments to function


      reply	other threads:[~2009-02-04 14:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-31 12:19 Accessing pv_info from userland Bryan McLellan
2009-01-31 13:04 ` Glauber Costa
2009-01-31 19:36   ` Anthony Liguori
2009-01-31 19:55     ` Glauber Costa
2009-01-31 20:20       ` Bryan McLellan
2009-01-31 20:26         ` Glauber Costa
2009-01-31 21:08       ` Anthony Liguori
2009-01-31 21:18         ` Alexander Graf
2009-02-01  0:55           ` Anthony Liguori
2009-02-01 17:56             ` Alexander Graf
2009-02-03 10:50       ` Avi Kivity
2009-02-03 15:02         ` Glauber Costa
2009-02-04 14:16           ` Avi Kivity [this message]

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=4989A335.6020303@redhat.com \
    --to=avi@redhat.com \
    --cc=anthony@codemonkey.ws \
    --cc=btm@loftninjas.org \
    --cc=glommer@gmail.com \
    --cc=kvm@vger.kernel.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