summary refs log tree commit diff stats
path: root/hw/s390x/s390-stattrib.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/s390x/s390-stattrib.c')
-rw-r--r--hw/s390x/s390-stattrib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/s390-stattrib.c b/hw/s390x/s390-stattrib.c
index 6d1e587527..0144b9021c 100644
--- a/hw/s390x/s390-stattrib.c
+++ b/hw/s390x/s390-stattrib.c
@@ -50,7 +50,7 @@ void s390_stattrib_init(void)
                               obj);
     object_unref(obj);
 
-    qdev_init_nofail(DEVICE(obj));
+    qdev_realize(DEVICE(obj), NULL, &error_fatal);
 }
 
 /* Console commands: */