[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plugin Address Translations Inconsistent/Incorrect?

From: Alex Bennée
Subject: Re: Plugin Address Translations Inconsistent/Incorrect?
Date: Tue, 23 Feb 2021 08:52:45 +0000
User-agent: mu4e 1.5.8; emacs 28.0.50

Peter Maydell <peter.maydell@linaro.org> writes:

> On Mon, 22 Feb 2021 at 19:53, Alex Bennée <alex.bennee@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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]