summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-06-05 15:53:17 +0100
committerPaul Brook <paul@codesourcery.com>2009-06-05 15:53:17 +0100
commitcae4956e5efcd7898583627ea712923902384c55 (patch)
treef5e68b7d1c6e01236d3c4372a9ca683f3fa3308a /monitor.c
parent1431b6a17e6546569e09bcf8fb7773c925658d8f (diff)
downloadqemu-cae4956e5efcd7898583627ea712923902384c55.tar.gz
qdev: add monitor command to dump the tree.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index 443f6d47c2..c710df7f55 100644
--- a/monitor.c
+++ b/monitor.c
@@ -23,6 +23,7 @@
*/
#include <dirent.h>
#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, },
};