lkml.org 
[lkml]   [2010]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH V2 1/5] ara virt interface of perf to support kvm guest os statistics collection in guest os
From
Date
On Tue, 2010-06-22 at 13:06 +0300, Avi Kivity wrote:

> You have a set of MSRs for real hardware (actually several sets)
> discoverable by cpuid bits. You have another set of MSRs, using other
> indexes, discoverable by more CPUID bits.
>
> The new MSR indexes will always #GP on real hardware, but will be
> trapped and serviced by kvm. In effect kvm will pretend to have a
> hardware-like PMU but done according to its own specifications.

So what's the point? I thought the whole MSR interface thing was purely
to let other-o$ play with the PMU, but if you move it around like that
and make it KVM specific, nobody will find it...


\
 
 \ /
  Last update: 2010-06-22 12:13    [W:0.103 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site