From 9fbe61277ff72748850eb746ac33fb9c110d2ae5 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Thu, 22 Dec 2011 15:14:27 -0600 Subject: 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 --- hw/qdev.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hw/qdev.h') 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 -- cgit v1.2.3