qdev: add monitor command to dump the tree.