Peter Maydell <peter.mayd...@linaro.org> writes:
> On Mon, 22 Feb 2021 at 19:53, Alex Bennée <alex.ben...@linaro.org> wrote: >> It certainly is by design. The comment for the helper states: >> >> /* >> * The following additional queries can be run on the hwaddr structure >> * to return information about it. For non-IO accesses the device >> * offset will be into the appropriate block of RAM. >> */ > > That sounds like we're exposing ram_addrs to the plugin. Are we? > I'm not sure that's a good idea, as they're not a guest-relevant > construct. We currently expose qemu_ram_addr_from_host for RAM blocks. Are you saying we should translate that to the direct physical address mapping? If we do that for RAM should we be doing the same for IO addresses? > > thanks > -- PMM -- Alex Bennée