qdev: add monitor command to dump the tree.
[qemu] / hw / qdev.h
index 5de0573..7291805 100644 (file)
--- 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