On Fri, Jun 6, 2014 at 7:36 PM, Paolo Bonzini <pbonz...@redhat.com> wrote: > Il 06/06/2014 08:11, Peter Crosthwaite ha scritto: > >> Hi Paolo, Andreas, >> >> This patch series QOMifies Memory regions. This is the Memory API >> specific subset of patches forming part of the Memory/GPIO/Sysbus >> QOMification. >> >> I think Paolo already has P1 enqeued. Including for ease of review. >> some QOM patches in P2-4 that cut down on later boilerplate. TBH I can >> live without them, if they not liked but they make life better IMO. >> >> For fuller context please see: >> >> http://lists.gnu.org/archive/html/qemu-devel/2014-05/msg03265.html >> >> and >> >> http://lists.gnu.org/archive/html/qemu-devel/2014-06/msg00359.html > > > I'm okay with the gist of the series. I still have to understand how > exactly the reference counts work, but the idea is fine. > > However, I'd rather have the concept bake for a bit by starting with > read-only properties.
The just a matter of pulling our the setters? I guess it can be done but I don't fully understand the motivation. I think there are some concepts in the "container" > property that can be generalized. > Can you elaborate this a little more? Regards, Peter > Would you be okay with that? > > Paolo >