The documentation on the new plugin capabilities of qemu is silent about the order call back registration should be done, and is also silent on the order in which call backs are fired.
Case in point: The callback registered by qemu_plugin_register_vcpu_mem_cb is called after the call back registered by qemu_plugin_register_vcpu_insn_exec_cb, regardless of the order of registration.
However, I'd like to have the insn_exec_cb called after the mem_cb so that I can save the mem information to be consumed by the insn callback.
|