QEMU currently hangs completely when the user is trying to do a "device_add digic" on an unrelated ARM machine like integratorcp. Looks like this device is not meant to be hot-pluggable at all, so let's simply mark it with "user_creatable = false" to avoid the hang.
Signed-off-by: Thomas Huth <th...@redhat.com> --- hw/arm/digic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/arm/digic.c b/hw/arm/digic.c index 94f3263..208dfb3 100644 --- a/hw/arm/digic.c +++ b/hw/arm/digic.c @@ -101,6 +101,8 @@ static void digic_class_init(ObjectClass *oc, void *data) DeviceClass *dc = DEVICE_CLASS(oc); dc->realize = digic_realize; + /* Reason: Hangs QEMU when trying to device_add this directly */ + dc->user_creatable = false; } static const TypeInfo digic_type_info = { -- 1.8.3.1