On Sat, 26 Dec 2009 21:19:22 +0000 Nathan Baum <nat...@parenthephobia.org.uk> wrote:
> Signed-off-by: Nathan Baum <nat...@parenthephobia.org.uk> > --- > hw/qdev.c | 9 ++++++++- > hw/qdev.h | 3 ++- > monitor.c | 3 ++- > 3 files changed, 12 insertions(+), 3 deletions(-) > > diff --git a/hw/qdev.c b/hw/qdev.c > index f5d68c6..d9d3778 100644 > --- a/hw/qdev.c > +++ b/hw/qdev.c > @@ -727,6 +727,12 @@ static void do_info_qbus(Monitor *mon, BusState *bus, > QObject **ret_data) > *ret_data = (QObject *) qdict; > } > > +void do_info_qtree(Monitor *mon, QObject **ret_data) > +{ > + if (main_system_bus) > + do_info_qbus(mon, main_system_bus, ret_data); > +} > + What I'm missing here is a high-level documentation of the data type you're building.