qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 0/3] bulk: Remove legacy cpu_physical_memory_rw() API


From: Peter Maydell
Subject: Re: [PATCH v2 0/3] bulk: Remove legacy cpu_physical_memory_rw() API
Date: Tue, 10 Dec 2024 15:00:59 +0000

On Tue, 10 Dec 2024 at 14:01, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>
> cpu_physical_memory_rw() API is documented as legacy
> since 2017 (commit b7ecba0f6f6). Replace it by a more
> recent API. Noticed while discussing with Peter:
> e979b3ba-e701-4ac6-962a-19e4598ba947@linaro.org">https://lore.kernel.org/qemu-devel/e979b3ba-e701-4ac6-962a-19e4598ba947@linaro.org

I'm not sure we want to do this as a bulk automated
transformation, because in each case there is likely
a better thing we can do with the call than to use
address_space_memory. For example most of the uses in
devices probably want to have the device have an
AddressSpace property that the board wires up.

thanks
-- PMM



reply via email to

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