Re: [Qemu-devel] [RFC v1 19/25] sysbus: Setup memory regions as dynamic props

2014-05-28 Thread Peter Crosthwaite
On Fri, May 16, 2014 at 12:00 PM, Peter Crosthwaite wrote: > Dynamically allocate Memory Region pointers and set them up as QOM > links. Plug these dynamic links to the sysbus_init_mmio() and > sysbus_mmio_get_region APIs. > > This allows for removal of the Sysbus Memory Regions as state. All > th

[Qemu-devel] [RFC v1 19/25] sysbus: Setup memory regions as dynamic props

2014-05-15 Thread Peter Crosthwaite
Dynamically allocate Memory Region pointers and set them up as QOM links. Plug these dynamic links to the sysbus_init_mmio() and sysbus_mmio_get_region APIs. This allows for removal of the Sysbus Memory Regions as state. All that's needed now is the counter for total number of regions. Another pie