From f05f6b4adb4db3affb0cdd17383b0a7e905e66e1 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 28 Mar 2012 16:34:12 +0200 Subject: qdev: put all devices under /machine Avoid cluttering too much the QOM root. Signed-off-by: Paolo Bonzini Signed-off-by: Anthony Liguori --- hw/qdev.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/qdev.h') diff --git a/hw/qdev.h b/hw/qdev.h index 9cc3f98..a8df42f 100644 --- a/hw/qdev.h +++ b/hw/qdev.h @@ -349,6 +349,8 @@ BusInfo *qdev_get_bus_info(DeviceState *dev); Property *qdev_get_props(DeviceState *dev); +Object *qdev_get_machine(void); + /* FIXME: make this a link<> */ void qdev_set_parent_bus(DeviceState *dev, BusState *bus); -- cgit v1.1