Re: [Qemu-devel] [PATCH 06/10] qdev: Implement (variable length) array properties

2013-02-18 Thread Peter Maydell
On 11 February 2013 14:38, Peter Maydell peter.mayd...@linaro.org wrote: On 4 February 2013 13:44, Peter Maydell peter.mayd...@linaro.org wrote: Add support for declaring array properties for qdev devices. These work by defining an initial static property 'len-arrayname' which the user of the

Re: [Qemu-devel] [PATCH 06/10] qdev: Implement (variable length) array properties

2013-02-11 Thread Peter Maydell
On 4 February 2013 13:44, Peter Maydell peter.mayd...@linaro.org wrote: Add support for declaring array properties for qdev devices. These work by defining an initial static property 'len-arrayname' which the user of the device should set to the desired size of the array. When this property is

[Qemu-devel] [PATCH 06/10] qdev: Implement (variable length) array properties

2013-02-04 Thread Peter Maydell
Add support for declaring array properties for qdev devices. These work by defining an initial static property 'len-arrayname' which the user of the device should set to the desired size of the array. When this property is set, memory is allocated for the array elements, and dynamic properties