From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R348y-0005qA-59 for qemu-devel@nongnu.org; Mon, 12 Sep 2011 06:53:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R348x-0007RV-5X for qemu-devel@nongnu.org; Mon, 12 Sep 2011 06:53:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25929) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R348w-0007RQ-PQ for qemu-devel@nongnu.org; Mon, 12 Sep 2011 06:53:39 -0400 Message-ID: <4E6DE4AF.1050604@redhat.com> Date: Mon, 12 Sep 2011 13:53:35 +0300 From: Avi Kivity MIME-Version: 1.0 References: <4E6DE104.1090204@redhat.com> In-Reply-To: <4E6DE104.1090204@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] memory: simple memory tree printer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Blue Swirl , qemu-devel On 09/12/2011 01:37 PM, Gerd Hoffmann wrote: >> I/O >> io addr 0000000000000000 off 0000000000000000 size 10000 >> -e1000-io addr 000000000000c000 off 0000000000000000 size 40 >> -piix-bmdma-container addr 000000000000c040 off 0000000000000000 size 10 >> --bmdma addr 000000000000000c off 0000000000000000 size 4 >> --piix-bmdma addr 0000000000000008 off 0000000000000000 size 4 >> --bmdma addr 0000000000000004 off 0000000000000000 size 4 >> --piix-bmdma addr 0000000000000000 off 0000000000000000 size 4 >> -pci-conf-data addr 0000000000000cfc off 0000000000000000 size 4 >> -pci-conf-idx addr 0000000000000cf8 off 0000000000000000 size 4 > > Could you put the (variable-length) name field last? That should make > the whole list more readable as the addresses are aligned then. > Makes sense. Can adopt other features from /proc/iomem - like using start/end instead of start/length - makes it easier to see if an address fits in a range. -- error compiling committee.c: too many arguments to function