summaryrefslogtreecommitdiff
path: root/hw/qdev.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-06-05 15:53:17 +0100
committerPaul Brook <paul@codesourcery.com>2009-06-05 15:53:17 +0100
commitcae4956e5efcd7898583627ea712923902384c55 (patch)
treef5e68b7d1c6e01236d3c4372a9ca683f3fa3308a /hw/qdev.h
parent1431b6a17e6546569e09bcf8fb7773c925658d8f (diff)
qdev: add monitor command to dump the tree.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'hw/qdev.h')
-rw-r--r--hw/qdev.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/qdev.h b/hw/qdev.h
index 5de0573fd..7291805b4 100644
--- a/hw/qdev.h
+++ b/hw/qdev.h
@@ -117,4 +117,9 @@ BusState *qbus_create(BusType type, size_t size,
#define FROM_QBUS(type, dev) DO_UPCAST(type, qbus, dev)
+/*** monitor commands ***/
+
+void do_info_qtree(Monitor *mon);
+void sysbus_dev_print(Monitor *mon, DeviceState *dev, int indent);
+
#endif