On Mar 16 13:48, Alex Bennée wrote: > Aaron Lindsay <aa...@os.amperecomputing.com> writes: > > On Mar 12 17:28, Alex Bennée wrote: > >> + * @insn: opaque instruction handle from qemu_plugin_tb_get_insn() > >> + * > >> + * Returns: hardware (physical) address of instruction > >> + */ > >> void *qemu_plugin_insn_haddr(const struct qemu_plugin_insn *insn); > > > > Is this the physical address of the instruction on the host or target? > > target.
An observation: We're exposing a target physical address here as a void * and for memory accesses (qemu_plugin_hwaddr_phys_addr) as a uint64_t. -Aaron