[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/4] hw/arm/stellaris: Add missing QOM 'SoC' parent
From: |
Peter Maydell |
Subject: |
Re: [PATCH 4/4] hw/arm/stellaris: Add missing QOM 'SoC' parent |
Date: |
Thu, 1 Feb 2024 16:46:31 +0000 |
On Tue, 30 Jan 2024 at 19:03, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>
> QDev objects created with qdev_new() need to manually add
> their parent relationship with object_property_add_child().
>
> Since we don't model the SoC, just use a QOM container.
>
> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
> ---
Ah, this is where the other qdev_new() calls are sorted.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
I wonder if we should add a variant on qdev_new() that
you can pass in the parent object to?
thanks
-- PMM
- Re: [PATCH 4/4] hw/arm/stellaris: Add missing QOM 'SoC' parent,
Peter Maydell <=