[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Issue policing writes from Xen to PV domain memory
On Fri, May 16, 2014 at 2:48 AM, Jan Beulich <JBeulich@xxxxxxxx> wrote:
I'm neither thrilled nor disgusted. If you want to keep track of the first time something happens, this is perfectly fine. If you want to single step ... well that goes to the point Jan raises below. You can't single-step the hypervisor. I guess the right question to ask is "What would GDB do?". Imagine you are tracing a user-space process with shared memory and a separate process starts changing that shared memory?
I think that spells the answer. We have the luxury of defining this interface, and the responsibility to keep it as stable as possible. I think that for extending to PV we should either (i) live with this event merge and not pretend we can even remotely single-step hypervisor accesses to shared memory -- but keep in mind the potential for ring exhaustion exists; or (ii) discard altogether accesses by Xen to shared memory from the set of trackable operations.
Aravindh, is there a reason not to choose (ii)? Â
As per above, we could forsake this and choose (ii).Â
Yes the fundamental problem (with PV) remains, if we choose (i). Andres
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |