[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/5] qom: allow creating an alias of a child<> p
From: |
Andreas Färber |
Subject: |
Re: [Qemu-devel] [PATCH 3/5] qom: allow creating an alias of a child<> property |
Date: |
Tue, 17 Jun 2014 15:33:19 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
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?
>
> 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
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
- [Qemu-devel] [PATCH 1/5] qom: add a generic mechanism to resolve paths, (continued)
[Qemu-devel] [PATCH 3/5] qom: allow creating an alias of a child<> property, Paolo Bonzini, 2014/06/11
[Qemu-devel] [PATCH 4/5] qom: allow creating an alias of an object, Paolo Bonzini, 2014/06/11
[Qemu-devel] [PATCH 5/5] mc146818rtc: add "rtc" link to "/machine", Paolo Bonzini, 2014/06/11