Re: [RFC PATCH 097/134] hw/m68k: Give memory regions an explicit owner

Thomas Huth <[email protected]>
Newsgroups org.nongnu.qemu-riscv,org.nongnu.qemu-arm,org.nongnu.qemu-devel
Message-ID <20260712162012.4c620021@tpx1>
Am Sat, 11 Jul 2026 22:36:30 +0000
schrieb Alexander Graf <[email protected]>:

> Convert memory_region_init*() calls that pass NULL owner to pass
> the enclosing machine or device instead.
> 
> Thread Object *owner through the static mcf5208_sys_init() helper. mcf5206_mbar_realize() already has DeviceState *dev in scope.
> 
> No functional change intended.
> 
> Assisted-by: Kiro
> Signed-off-by: Alexander Graf <[email protected]>
> ---
>  hw/m68k/an5206.c    |  2 +-
>  hw/m68k/mcf5206.c   |  2 +-
>  hw/m68k/mcf5208.c   | 15 ++++++++-------
>  hw/m68k/next-cube.c | 10 +++++-----
>  hw/m68k/q800.c      | 10 +++++-----
>  5 files changed, 20 insertions(+), 19 deletions(-)

For the coldfire and next-cube machine:

Reviewed-by: Thomas Huth <[email protected]>

q800 is a versioned machine type, though, so I hope Laurent can give some
guidance here whether it's ok to change the QOM tree here or not with
regards to migration.

 Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.