aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/tod.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/s390x/tod.c')
-rw-r--r--hw/s390x/tod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/tod.c b/hw/s390x/tod.c
index 7324e37b5e..3c2979175e 100644
--- a/hw/s390x/tod.c
+++ b/hw/s390x/tod.c
@@ -29,7 +29,7 @@ void s390_init_tod(void)
object_property_add_child(qdev_get_machine(), TYPE_S390_TOD, obj);
object_unref(obj);
- qdev_init_nofail(DEVICE(obj));
+ qdev_realize(DEVICE(obj), NULL, &error_fatal);
}
S390TODState *s390_get_todstate(void)