]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/pci-host/bonito.c
qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable
[mirror_qemu.git] / hw / pci-host / bonito.c
index 1999ece590448094a9bdf0f2303b43c302d2316c..85a3bb0dd29dfa7626e930e582c470991cb9c1a2 100644 (file)
@@ -825,7 +825,7 @@ static void bonito_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 bonito_info = {