From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:59039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Tgf-0001xT-Ac for qemu-devel@nongnu.org; Tue, 27 Sep 2011 05:10:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8Tgb-0005tC-8K for qemu-devel@nongnu.org; Tue, 27 Sep 2011 05:10:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51967) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8Tga-0005t7-Oe for qemu-devel@nongnu.org; Tue, 27 Sep 2011 05:10:45 -0400 Message-ID: <4E81930F.4040701@redhat.com> Date: Tue, 27 Sep 2011 12:10:39 +0300 From: Avi Kivity MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3] memory: simple memory tree printer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel On 09/26/2011 11:03 PM, Blue Swirl wrote: > Add a monitor command 'info mtree' to show the memory hierarchy > much like /proc/iomem in Linux. Thanks, applied. > + > +#ifdef TARGET_I386 > + QTAILQ_INIT(&ml_head); > + mon_printf(f, "I/O\n"); > + mtree_print_mr(mon_printf, f, address_space_io.root, 0, 0,&ml_head); > +#endif > I dropped the #ifdef here, since some non-x86 still have fake I/O address spaces. -- error compiling committee.c: too many arguments to function