qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: [Qemu-devel] [PATCH 0/2] add optional root to info qtree


From: Alon Levy
Subject: address@hidden: [Qemu-devel] [PATCH 0/2] add optional root to info qtree]
Date: Wed, 27 Oct 2010 11:43:28 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

bump. Doesn't anyone find it useful to view only a part of the
whole qtree? Is there some easy way to do this with current
qemu monitor?

----- Forwarded message from Alon Levy <address@hidden> -----

Date: Thu, 21 Oct 2010 08:37:18 +0200
From: Alon Levy <address@hidden>
To: address@hidden
Subject: [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(-)

-- 
1.7.3.1



----- End forwarded message -----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]