Re: [Qemu-devel] [PATCH v3] memory: simple memory tree printer

2011-09-27 Thread Blue Swirl
On Tue, Sep 27, 2011 at 12:35 PM, Jan Kiszka wrote: > On 2011-09-26 22:03, Blue Swirl wrote: >> Add a monitor command 'info mtree' to show the memory hierarchy >> much like /proc/iomem in Linux. >> >> Signed-off-by: Blue Swirl >> --- >> The alias addresses are unbiased (PPC): >> -fffe

Re: [Qemu-devel] [PATCH v3] memory: simple memory tree printer

2011-09-27 Thread Jan Kiszka
On 2011-09-26 22:03, Blue Swirl wrote: > Add a monitor command 'info mtree' to show the memory hierarchy > much like /proc/iomem in Linux. > > Signed-off-by: Blue Swirl > --- > The alias addresses are unbiased (PPC): > -fffe : system > 800a-800a : alias vga.chain4 @vga.vram

Re: [Qemu-devel] [PATCH v3] memory: simple memory tree printer

2011-09-27 Thread Avi Kivity
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

[Qemu-devel] [PATCH v3] memory: simple memory tree printer

2011-09-26 Thread Blue Swirl
Add a monitor command 'info mtree' to show the memory hierarchy much like /proc/iomem in Linux. Signed-off-by: Blue Swirl --- The alias addresses are unbiased (PPC): -fffe : system 800a-800a : alias vga.chain4 @vga.vram - 8088-808f : macio 808e0