summary refs log tree commit diff stats
path: root/hw/s390x/sclpquiesce.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/s390x/sclpquiesce.c')
-rw-r--r--hw/s390x/sclpquiesce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/sclpquiesce.c b/hw/s390x/sclpquiesce.c
index 14936aa94b..a32d6a91f5 100644
--- a/hw/s390x/sclpquiesce.c
+++ b/hw/s390x/sclpquiesce.c
@@ -117,7 +117,7 @@ static void quiesce_class_init(ObjectClass *klass, void *data)
     DeviceClass *dc = DEVICE_CLASS(klass);
     SCLPEventClass *k = SCLP_EVENT_CLASS(klass);
 
-    dc->reset = quiesce_reset;
+    device_class_set_legacy_reset(dc, quiesce_reset);
     dc->vmsd = &vmstate_sclpquiesce;
     set_bit(DEVICE_CATEGORY_MISC, dc->categories);
     /*