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 - 03:55:29 EST


On Tue, 2010-06-22 at 15:47 +0800, Zhang, Yanmin wrote:
> Besides the para virt perf interface, I'm also considering the direct exposition
> of PMU hardware to guest os.

NAK NAK NAK NAK, we've been over that, its not going to happen, full
stop!

Use MSR read/write traps and host perf to emulate the hardware. In some
cases we could allow the reads without trap but that's a later
optimization.
--
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/