public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* CPUID emulation
@ 2007-05-31  8:20 Stephane Eranian
       [not found] ` <20070531082006.GB22798-HU54gidqsKnWxDs0y9d3MAC/G2K4zDHf@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Stephane Eranian @ 2007-05-31  8:20 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello,

Looking at kvm-26, it seems that the CPUID values as seen by the guest OS
are still hardcoded for i386/x86-64 at least.

For performance counter virtualization, the guest needs to see the *actual*
family/model information in order to correctly program the counters.

It would be fairly simple to grab that information from /proc/cpuinfo
at init time in qemu.

However, I am wondering if there would be side effects of using the
actual CPUID which could cause troubles to KVM or the guest.

Any comments on this?

Thanks.

-- 
-Stephane

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-06-01  1:12 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-31  8:20 CPUID emulation Stephane Eranian
     [not found] ` <20070531082006.GB22798-HU54gidqsKnWxDs0y9d3MAC/G2K4zDHf@public.gmane.org>
2007-05-31  8:39   ` Avi Kivity
     [not found]     ` <465E89A8.9020201-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-31 11:29       ` Stephane Eranian
     [not found]         ` <20070531112906.GC22798-HU54gidqsKnWxDs0y9d3MAC/G2K4zDHf@public.gmane.org>
2007-05-31 11:35           ` Avi Kivity
     [not found]             ` <465EB310.7080402-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-31 11:44               ` Stephane Eranian
     [not found]                 ` <20070531114447.GF22798-HU54gidqsKnWxDs0y9d3MAC/G2K4zDHf@public.gmane.org>
2007-05-31 11:52                   ` Avi Kivity
     [not found]                     ` <465EB6E5.7000000-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-05-31 11:58                       ` Stephane Eranian
     [not found]                         ` <20070531115841.GG22798-HU54gidqsKnWxDs0y9d3MAC/G2K4zDHf@public.gmane.org>
2007-05-31 15:12                           ` Troy Benjegerdes
     [not found]                             ` <20070531151244.GC6474-na1kE3HDu0idQnJuSAr7PQ@public.gmane.org>
2007-05-31 15:38                               ` ron minnich
2007-05-31 18:30                           ` Ulrich Drepper
     [not found]                             ` <465F145F.5040003-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2007-06-01  1:12                               ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox