title: QEMU/QMP alert when writing to memory
body: <p>I'm using QEMU to test some software for a personal project and I would like to know whenever the program is writing to memory.  The best solution I have come up with is to manually add print statements in the file responsible for writing to memory. Which this would require remaking the object for the file and building QEMU, if I'm correct.  But I came across QMP which uses JSON commands to manipulate QEMU, which has an entire list of commands, found here: <a href="https://raw.githubusercontent.com/Xilinx/qemu/master/qmp-commands.hx" rel="nofollow noreferrer">https://raw.githubusercontent.com/Xilinx/qemu/master/qmp-commands.hx</a>.<br>
  But after looking at that I didn't really see anything that would do what I want.  I am sort of a new programmer and am not that advanced. And was wondering if anyone had some idea how to go about this a better way.</p>