From cae4956e5efcd7898583627ea712923902384c55 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 5 Jun 2009 15:53:17 +0100 Subject: qdev: add monitor command to dump the tree. Signed-off-by: Gerd Hoffmann Signed-off-by: Paul Brook --- hw/qdev.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hw/qdev.h') diff --git a/hw/qdev.h b/hw/qdev.h index 5de0573fdb..7291805b46 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 -- cgit 1.4.1