[Qemu-devel] [PATCH v3 1/5] qom: introduce object_property_foreach method

2015-10-08 Thread Daniel P. Berrange
Some users of QOM need to be able to iterate over properties defined against an object instance. Currently they are just directly using the QTAIL macros against the object properties data structure. This is bad because it exposes them to changes in the data structure used to store properties, as

Re: [Qemu-devel] [PATCH v3 1/5] qom: introduce object_property_foreach method

2015-10-08 Thread Eric Blake
On 10/08/2015 08:09 AM, Daniel P. Berrange wrote: > Some users of QOM need to be able to iterate over properties > defined against an object instance. Currently they are just > directly using the QTAIL macros against the object properties > data structure. > > This is bad because it exposes them