From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwtVy-0005UB-4i for qemu-devel@nongnu.org; Tue, 17 Jun 2014 09:33:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WwtVp-0005UE-Hw for qemu-devel@nongnu.org; Tue, 17 Jun 2014 09:33:30 -0400 Received: from cantor2.suse.de ([195.135.220.15]:60517 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WwtVp-0005Ty-7t for qemu-devel@nongnu.org; Tue, 17 Jun 2014 09:33:21 -0400 Message-ID: <53A0439F.5020807@suse.de> Date: Tue, 17 Jun 2014 15:33:19 +0200 From: =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= MIME-Version: 1.0 References: <1402505369-12526-1-git-send-email-pbonzini@redhat.com> <1402505369-12526-4-git-send-email-pbonzini@redhat.com> <53A0432B.3020701@redhat.com> In-Reply-To: <53A0432B.3020701@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 3/5] qom: allow creating an alias of a child<> property List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Peter Crosthwaite Cc: Marcelo Tosatti , "qemu-devel@nongnu.org Developers" , Stefan Hajnoczi Am 17.06.2014 15:31, schrieb Paolo Bonzini: > Il 17/06/2014 15:28, Peter Crosthwaite ha scritto: >> >> Longer term, should "child" and "link" be macrofied and these >> hardcoded strlen's be fixed to avoid difficult developer traps if >> anyone ever tries to change the literal strings? >=20 > Yes, good idea. We do have static inline functions for that somewhere, probably in object.c. We could move them to the header if needed elsewhere. Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=C3=B6rffer; HRB 16746 AG N=C3=BC= rnberg