Re: [PATCH v4 3/8] qdev: Add machine_get_container()

2025-01-03 Thread Richard Henderson
On 1/2/25 13:17, Philippe Mathieu-Daudé wrote: From: Peter Xu Add a helper to fetch machine containers. Add some sanity check around. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Peter Xu Message-ID: <20241121192202.4155849-10-pet...@redhat.com> Signed-off-by: Philippe Mathieu-Daudé

[PATCH v4 3/8] qdev: Add machine_get_container()

2025-01-02 Thread Philippe Mathieu-Daudé
From: Peter Xu Add a helper to fetch machine containers. Add some sanity check around. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Peter Xu Message-ID: <20241121192202.4155849-10-pet...@redhat.com> Signed-off-by: Philippe Mathieu-Daudé --- include/hw/qdev-core.h | 10 ++ hw/c