From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsqZi-0000xz-Un for qemu-devel@nongnu.org; Fri, 06 Jun 2014 05:36:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsqZe-0005xy-4j for qemu-devel@nongnu.org; Fri, 06 Jun 2014 05:36:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsqZd-0005xu-SY for qemu-devel@nongnu.org; Fri, 06 Jun 2014 05:36:34 -0400 Message-ID: <53918B9C.4080408@redhat.com> Date: Fri, 06 Jun 2014 11:36:28 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH memory v4 00/10] Memory Region QOMification List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, afaerber@suse.de 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. I think there are some concepts in the "container" property that can be generalized. Would you be okay with that? Paolo