Skip to content

add optional root to info qtree

Alon Levy qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2monitor: add sub_args_type for second level parametershmp-commands.hx monitor.c+13 -11 reply
2/2monitor info qtree: add optional bus idhw/qdev.c hw/qdev.h monitor.c+44 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] add optional root to info qtree

Allow viewing of a part of the large qdev tree. The optional argument is first looked for as a bus id, if that fails a device id is found and it's parent bus is the root for printing.

Adds sub_args_type callback for each monitor mon_cmd_t to fascilitate the existing info_cmds args_type and params strings, so monitor_parse_command will check the arguments for the do_info sub command do_info_qtree.

Alon Levy (2):
monitor: add sub_args_type for second level parameters monitor info qtree: add optional bus id

 hmp-commands.hx |    1 +
 hw/qdev.c       |   17 ++++++++++++++---
 hw/qdev.h       |    2 +-
 monitor.c       |   47 +++++++++++++++++++++++++++++++++++++++++------
 4 files changed, 57 insertions(+), 10 deletions(-)
Signature · 1 line
1.7.3.1