]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/pci-host/prep.c
qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable
[mirror_qemu.git] / hw / pci-host / prep.c
index 260a119a9e79bf529aee6ff65c19cf5f81f138f5..900a6edfcf351fc69dd0c3cd9ff63b3fee97c392 100644 (file)
@@ -364,7 +364,7 @@ static void raven_class_init(ObjectClass *klass, void *data)
      * Reason: 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 raven_info = {