qemu-discuss
[Top][All Lists]
Advanced

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

Custom SoC emulation asserts “../hw/core/qdev.c:316": qdev_assert_realiz


From: Alyosha Shevandin
Subject: Custom SoC emulation asserts “../hw/core/qdev.c:316": qdev_assert_realized_properly_cb: Assertion `dev->realized' failed
Date: Tue, 21 Feb 2023 21:18:59 +0000

My custom SoC emulation is based on the state struct that is derived from DeviceState. It seems that the all epected parts - the class initialization, the instance initialization, machine initialization are there.

The implementation asserts at at ../hw/core/qdev.c, line 316 (master branch, commit 13356edb87506c148b163b8c7eb0695647d00c2a)


I’m providing the custom implementation of the “realize” procedure. The field DeviceClass.realize is set to point to this custom procedure. This procedure is never called.


What is the reason for the assert?



reply via email to

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