aboutsummaryrefslogtreecommitdiff
path: root/hw/qdev.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-03-28 16:34:12 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2012-04-02 15:04:15 -0500
commitf05f6b4adb4db3affb0cdd17383b0a7e905e66e1 (patch)
treec95bfd1b99970b8cf0b3ac8aa3a7635fe19924d3 /hw/qdev.h
parentda57febfed7bad11be79f047b59719c38abd0712 (diff)
qdev: put all devices under /machine
Avoid cluttering too much the QOM root. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/qdev.h')
-rw-r--r--hw/qdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/qdev.h b/hw/qdev.h
index 9cc3f984b2..a8df42f6fa 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);