Dear developers, Short version: is memory event supported on AMD CPUs or is it going to be supported?
Long version: Environment: LibVMI 0.15.0 + Xen 4.14.3 on an **AMD CPU** (5950x), 64-bit Debian 11 Dom0. What I am trying to accomplish: register a **memory event** handler, so that I can capture all memory accesses within a specific range issued by any thread, or all memory accesses within any range issued by a specific thread. What I got instead: an error from LibVMI saying "xc_hvm_set_mem_access failed with code: -1". Some investigation: by inspecting the source code of LibVMI, I find the direct cause is one of the libxc functions, 1) xc_set_mem_access or 2) xc_altp2m_set_mem_access, returned error code -1. After some searching, I found someone else having a similar problem [1]. I also noted LibVMI says: > Currently only the Xen Hypervisor provides these features, > and some of these are specifically only available on Intel CPUs However, I can't find the exact confirmation for the availability of memory event on AMD CPUs from https://wiki.xenproject.org. Any suggestion? (Sorry I was sending this email to the wrong place) [1] https://github.com/libvmi/libvmi/pull/709#discussion_r353729777 Untitled YAN