]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/imx8mp-evk: Fix reference count of SoC object
authorBernhard Beschow <shentey@gmail.com>
Tue, 18 Mar 2025 20:57:07 +0000 (21:57 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 31 Mar 2025 14:25:59 +0000 (16:25 +0200)
commit02e521462405d9fd84b49787f6d8ae9b93d9b13c
tree1454904505b8e39bb5019acfd33e04ded7d19aac
parent8dcfb54090330c877ad5a05be5e555714eeb870c
hw/arm/imx8mp-evk: Fix reference count of SoC object

TYPE_FSL_IMX8MP is created using object_new(), so must be realized with
qdev_realize_and_unref() to keep the reference counting intact.

Fixes: a4eefc69b237 "hw/arm: Add i.MX 8M Plus EVK board"
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-ID: <20250318205709.28862-2-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/arm/imx8mp-evk.c