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 --- monitor.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index 443f6d47c2..c710df7f55 100644 --- a/monitor.c +++ b/monitor.c @@ -23,6 +23,7 @@ */ #include #include "hw/hw.h" +#include "hw/qdev.h" #include "hw/usb.h" #include "hw/pcmcia.h" #include "hw/pc.h" @@ -1854,6 +1855,8 @@ static const mon_cmd_t info_cmds[] = { { "migrate", "", do_info_migrate, "", "show migration status" }, { "balloon", "", do_info_balloon, "", "show balloon information" }, + { "qtree", "", do_info_qtree, + "", "show device tree" }, { NULL, NULL, }, }; -- cgit 1.4.1