diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-06-05 15:53:17 +0100 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2009-06-05 15:53:17 +0100 |
commit | cae4956e5efcd7898583627ea712923902384c55 (patch) | |
tree | f5e68b7d1c6e01236d3c4372a9ca683f3fa3308a /monitor.c | |
parent | 1431b6a17e6546569e09bcf8fb7773c925658d8f (diff) |
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, }, }; |