[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v12 for-xen-4.5 16/20] x86/VPMU: Handle PMU interrupts for PV guests

On 10/02/2014 02:56 AM, Jan Beulich wrote:

And in the end, considering that a model where there's both a
local and a global profiler active, one sample referring to
hypervisor context could easily result in two events: One
(with the hypervisor register state) to the global profiled, and
a second (with the surrounding guest register state) to the
guest one. But iiuc your current implementation doesn't allow
that (yet).

Right, it doesn't.

And I don't think this will work since PMU registers need to be controlled by one domain only (either dom0 or the guest) for each profiling session. If we send the interrupt to both one of them will likely get confused about why it is getting the interrupt that it didn't request.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.