From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrJgf-00014X-1B for qemu-devel@nongnu.org; Mon, 02 Jun 2014 00:17:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrJgZ-0001HW-5C for qemu-devel@nongnu.org; Mon, 02 Jun 2014 00:17:28 -0400 Received: from mail-qg0-f51.google.com ([209.85.192.51]:44090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrJgZ-0001HI-1u for qemu-devel@nongnu.org; Mon, 02 Jun 2014 00:17:23 -0400 Received: by mail-qg0-f51.google.com with SMTP id q107so9774064qgd.38 for ; Sun, 01 Jun 2014 21:17:22 -0700 (PDT) Sender: Peter Crosthwaite From: Peter Crosthwaite Date: Sun, 1 Jun 2014 21:13:59 -0700 Message-Id: Subject: [Qemu-devel] [PATCH memory v3 0/9] Memory Region QOMification List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, afaerber@suse.de, peter.maydell@linaro.org 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-3 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 Changed since v2: Use object unref to finalize MR (Paolo review) Fixed priority prop getter Changed prioirty to signed type in QOM getters/setterts Changed since v1: Split into subset series. Converted container link into low level link. Misc finer tweaks and patch re-orderings. Peter Crosthwaite (9): memory: Simplify mr_add_subregion() if-else qom: object: Ignore refs/unrefs of NULL qom: Publish object_resolve_link memory: Coreify subregion add functionality memory: MemoryRegion: factor out memory region re-adder memory: MemoryRegion: QOMify memory: MemoryRegion: Add container and addr props memory: MemoryRegion: Add may-overlap and priority props memory: MemoryRegion: Add size property include/exec/memory.h | 8 +- include/qom/object.h | 16 +++ memory.c | 307 +++++++++++++++++++++++++++++++++++++++++++------- qom/object.c | 27 ++--- 4 files changed, 298 insertions(+), 60 deletions(-) -- 2.0.0