Re: [PATCH V2 1/5] ara virt interface of perf to support kvm guestos statistics collection in guest os

From: Peter Zijlstra
Date: Tue Jun 22 2010 - 06:02:43 EST


On Tue, 2010-06-22 at 12:53 +0300, Avi Kivity wrote:


> > /me has no clue what virtual MSRs are,
>
> MSRs that are not defined by the hardware, but instead by the
> hypervisor.
>
Uhm, but the PMU MSRs are all defined by the hardware, if you move the
PMU MSRs around nothing will work.. *confusion*

> When emulating the hardware PMU we can be clever at times and allow
> RDPMC not to trap.

Sure, not disagreeing with that, still the generic case is to trap, so
lets first get that to work and then try and be smart :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/