Mailing List Archive

mem_access
I heard the latest release of Xen includes an API called mem_access. If I'm interested in analyzing memory accesses HVM guests are making, would this api help? Also, I can't seem to find any documentation on it or where it is even located in the xen source tree. Can anyone point me in the right direction?

--Teddy
Re: mem_access [ In reply to ]
> I heard the latest release of Xen includes an API called mem_access. If I'm
> interested in analyzing memory accesses HVM guests are making, would this
> api help? Also, I can't seem to find any documentation on it or where it is
> even located in the xen source tree. Can anyone point me in the right
> direction?

Take a look at ept_handle_violation() and tools/tests/xen-access in
the xen tree. This is a bare bone example of a mem_access event
listener. You can work your way back to the source from there. BTW,
the API requires you to run on an Intel CPU with EPT support.

Aravindh

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel