Re: [Qemu-devel] [PATCH v4 15/54] plugin: add implementation of the api

2019-08-01 Thread Richard Henderson
On 7/31/19 9:06 AM, Alex Bennée wrote: > +uint64_t qemu_plugin_hwaddr_to_raddr(const struct qemu_plugin_hwaddr *haddr) > +{ > +#if 0 /* XXX FIXME should be SOFTMMU */ > +ram_addr_t ram_addr; > + > +g_assert(haddr); > +ram_addr = qemu_ram_addr_from_host(haddr); > +if (ram_addr == RAM

[Qemu-devel] [PATCH v4 15/54] plugin: add implementation of the api

2019-07-31 Thread Alex Bennée
[AJB: split from the core code commit] Signed-off-by: Alex Bennée --- v4 - add qemu_plugin_ram_addr_from_host - remove _haddr api calls --- plugins/Makefile.objs | 1 + plugins/api.c | 299 ++ 2 files changed, 300 insertions(+) create mode