From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwwYp-0007wV-NE for qemu-devel@nongnu.org; Tue, 17 Jun 2014 12:48:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwwYg-0003dx-5u for qemu-devel@nongnu.org; Tue, 17 Jun 2014 12:48:39 -0400 Received: from mail-qc0-x236.google.com ([2607:f8b0:400d:c01::236]:34332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwwYg-0003di-23 for qemu-devel@nongnu.org; Tue, 17 Jun 2014 12:48:30 -0400 Received: by mail-qc0-f182.google.com with SMTP id m20so10125961qcx.41 for ; Tue, 17 Jun 2014 09:48:29 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <53A07158.2050408@redhat.com> Date: Tue, 17 Jun 2014 18:48:24 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1402505369-12526-1-git-send-email-pbonzini@redhat.com> <1402505369-12526-5-git-send-email-pbonzini@redhat.com> <53A04B79.808@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 4/5] qom: allow creating an alias of an object List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: Marcelo Tosatti , "qemu-devel@nongnu.org Developers" , Stefan Hajnoczi , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= Il 17/06/2014 16:16, Peter Crosthwaite ha scritto: >> > Ok, so that would mean special casing target_prop == NULL. >> > > target_name == NULL is the special case I think? It is already > something of a special case in this patch with a child to parent > traversal for who is getting a property aliased. Yeah, but not in the getter/setter/resolver callbacks. In the end a completely different set of functions would be used, which is why I went for aliasing the parent's child property. Paolo