]> git.proxmox.com Git - qemu.git/blobdiff - hw/qdev.h
qdev: fix hotplug when no -device is specified
[qemu.git] / hw / qdev.h
index d5896be40e8bc0a40d655c2da63ca95e2afd4437..2abb7673890ab2a9462135528180d4f30b624d48 100644 (file)
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -616,4 +616,12 @@ void qdev_property_add_str(DeviceState *dev, const char *name,
  */
 char *qdev_get_type(DeviceState *dev, Error **errp);
 
+/**
+ * @qdev_machine_init
+ *
+ * Initialize platform devices before machine init.  This is a hack until full
+ * support for composition is added.
+ */
+void qdev_machine_init(void);
+
 #endif