Received: from [140.186.70.92] (port=59144 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PB2Xv-0004YC-4C for qemu-devel@nongnu.org; Wed, 27 Oct 2010 05:44:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PB2Xd-00084L-Ro for qemu-devel@nongnu.org; Wed, 27 Oct 2010 05:43:51 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PB2Xd-000849-Lg for qemu-devel@nongnu.org; Wed, 27 Oct 2010 05:43:33 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9R9hWhf005487 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 27 Oct 2010 05:43:32 -0400 Received: from playa.tlv.redhat.com (dhcp-2-227.tlv.redhat.com [10.35.2.227]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id o9R9hS7q017020 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 27 Oct 2010 05:43:31 -0400 Date: Wed, 27 Oct 2010 11:43:28 +0200 From: Alon Levy Subject: [alevy@redhat.com: [Qemu-devel] [PATCH 0/2] add optional root to info qtree] Message-ID: <20101027094328.GB4645@playa.tlv.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 ----- Date: Thu, 21 Oct 2010 08:37:18 +0200 From: Alon Levy To: qemu-devel@nongnu.org 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 -----