]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/rdma/vmw/pvrdma_main.c
qdev: set properties with device_class_set_props()
[thirdparty/qemu.git] / hw / rdma / vmw / pvrdma_main.c
index 6f0fc405c77395fc80cc35af89f6deead1cfad3b..3254aadb6e34943c53754d853711113e73dda217 100644 (file)
@@ -690,7 +690,7 @@ static void pvrdma_class_init(ObjectClass *klass, void *data)
     k->class_id = PCI_CLASS_NETWORK_OTHER;
 
     dc->desc = "RDMA Device";
-    dc->props = pvrdma_dev_properties;
+    device_class_set_props(dc, pvrdma_dev_properties);
     set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);
 
     ir->print_statistics = pvrdma_print_statistics;