summaryrefslogtreecommitdiffstats
path: root/hw/qdev.h
diff options
context:
space:
mode:
authorAnthony Liguori2011-12-22 22:14:27 +0100
committerAnthony Liguori2012-02-03 17:41:08 +0100
commit9fbe61277ff72748850eb746ac33fb9c110d2ae5 (patch)
tree8cfc3eba484ad0557eb71e045ff5d7900cc5e402 /hw/qdev.h
parentqdev: split out common init to instance_init (diff)
downloadqemu-9fbe61277ff72748850eb746ac33fb9c110d2ae5.tar.gz
qemu-9fbe61277ff72748850eb746ac33fb9c110d2ae5.tar.xz
qemu-9fbe61277ff72748850eb746ac33fb9c110d2ae5.zip
qdev: refactor away qdev_create_from_info
Note that the FIXME gets fixed in series 4/4. We need to convert BusState to QOM before we can make parent_bus a link. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/qdev.h')
-rw-r--r--hw/qdev.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/qdev.h b/hw/qdev.h
index 102c5fa4fc..3d4808d94b 100644
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -643,4 +643,7 @@ BusInfo *qdev_get_bus_info(DeviceState *dev);
Property *qdev_get_props(DeviceState *dev);
+/* FIXME: make this a link<> */
+void qdev_set_parent_bus(DeviceState *dev, BusState *bus);
+
#endif