From a01ff75fcdb4d91809ccdd2b95efda6ee1239cbb Mon Sep 17 00:00:00 2001 From: Andreas Färber Date: Wed, 7 May 2014 17:03:18 +0200 Subject: qom: Implement info qom-tree HMP command To complement qdev's bus-oriented info qtree, info qom-tree prints a hierarchical view of the QOM composition tree. By default, the machine composition tree is shown. This can be overriden by supplying a path argument, such as "info qom-tree /". Tested-by: Alistair Francis Signed-off-by: Andreas Färber --- include/monitor/qdev.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/monitor') diff --git a/include/monitor/qdev.h b/include/monitor/qdev.h index 5eb4a1171e..719075283c 100644 --- a/include/monitor/qdev.h +++ b/include/monitor/qdev.h @@ -8,6 +8,7 @@ void hmp_info_qtree(Monitor *mon, const QDict *qdict); void hmp_info_qdm(Monitor *mon, const QDict *qdict); +void hmp_info_qom_tree(Monitor *mon, const QDict *dict); int do_device_add(Monitor *mon, const QDict *qdict, QObject **ret_data); int qdev_device_help(QemuOpts *opts); DeviceState *qdev_device_add(QemuOpts *opts); -- cgit v1.2.3-55-g7522