]> Git Repo - qemu.git/blobdiff - hw/pci-host/grackle.c
qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable
[qemu.git] / hw / pci-host / grackle.c
index 2c8acdaacaf6521d84d089ca7ff7e954f42ef02c..2e281f6155913cd1b19f2efcc0729dfb7315cbc9 100644 (file)
@@ -134,7 +134,7 @@ static void grackle_pci_class_init(ObjectClass *klass, void *data)
      * PCI-facing part of the host bridge, not usable without the
      * host-facing part, which can't be device_add'ed, yet.
      */
-    dc->cannot_instantiate_with_device_add_yet = true;
+    dc->user_creatable = false;
 }
 
 static const TypeInfo grackle_pci_info = {
This page took 0.022903 seconds and 4 git commands to generate.