diff options
author | Andreas Färber <afaerber@suse.de> | 2014-05-07 17:03:18 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2015-03-17 14:31:21 +0100 |
commit | a01ff75fcdb4d91809ccdd2b95efda6ee1239cbb (patch) | |
tree | 0da5156b132cbb00035b75cd937c03448b6ce802 /include/monitor | |
parent | c0e6ee9e6f49d4a3183b05f457cc2704a966fce5 (diff) |
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 <alistair.francis@xilinx.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/monitor')
-rw-r--r-- | include/monitor/qdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |