Skip to contentSkip to conversation

mem_access

DISCUSSION super lotion 2 participants 2 messages Aug 21, 2011 – Aug 23, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

A message that is not in the archive (sent off-list or not yet received): CAGU+auvGkkFzuKKWtuUb_wjgNVzXRwJ1zV_1_cMfhT6SyYEXoQ@mail.gmail.com

#2 lore raw
Quoted 5 lines

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