diff options
Diffstat (limited to 'migration/migration.c')
-rw-r--r-- | migration/migration.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/migration.c b/migration/migration.c index 990bff00c0..efd5350e84 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -3514,7 +3514,7 @@ static void migration_class_init(ObjectClass *klass, void *data) DeviceClass *dc = DEVICE_CLASS(klass); dc->user_creatable = false; - dc->props = migration_properties; + device_class_set_props(dc, migration_properties); } static void migration_instance_finalize(Object *obj) |