Re: [PATCH 01/11] qdev: Add qdev_prop_set_array()

2023-10-30 Thread Kevin Wolf
Am 27.10.2023 um 20:06 hat Peter Maydell geschrieben: > On Fri, 8 Sept 2023 at 15:37, Kevin Wolf wrote: > > > > Instead of exposing the ugly hack of how we represent arrays in qdev (a > > static "foo-len" property and after it is set, dynamically created > > "foo[i]" properties) to boards, add an

Re: [PATCH 01/11] qdev: Add qdev_prop_set_array()

2023-10-27 Thread Peter Maydell
On Fri, 8 Sept 2023 at 15:37, Kevin Wolf wrote: > > Instead of exposing the ugly hack of how we represent arrays in qdev (a > static "foo-len" property and after it is set, dynamically created > "foo[i]" properties) to boards, add an interface that allows setting the > whole array at once. > > Onc

Re: [PATCH 01/11] qdev: Add qdev_prop_set_array()

2023-09-22 Thread Markus Armbruster
Philippe Mathieu-Daudé writes: > On 8/9/23 16:36, Kevin Wolf wrote: >> Instead of exposing the ugly hack of how we represent arrays in qdev (a >> static "foo-len" property and after it is set, dynamically created >> "foo[i]" properties) to boards, add an interface that allows setting the >> whole

Re: [PATCH 01/11] qdev: Add qdev_prop_set_array()

2023-09-11 Thread Philippe Mathieu-Daudé
On 8/9/23 16:36, Kevin Wolf wrote: Instead of exposing the ugly hack of how we represent arrays in qdev (a static "foo-len" property and after it is set, dynamically created "foo[i]" properties) to boards, add an interface that allows setting the whole array at once. Once all internal users of d

Re: [PATCH 01/11] qdev: Add qdev_prop_set_array()

2023-09-11 Thread Peter Maydell
On Fri, 8 Sept 2023 at 15:37, Kevin Wolf wrote: > > Instead of exposing the ugly hack of how we represent arrays in qdev (a > static "foo-len" property and after it is set, dynamically created > "foo[i]" properties) to boards, add an interface that allows setting the > whole array at once. > > Onc

[PATCH 01/11] qdev: Add qdev_prop_set_array()

2023-09-08 Thread Kevin Wolf
Instead of exposing the ugly hack of how we represent arrays in qdev (a static "foo-len" property and after it is set, dynamically created "foo[i]" properties) to boards, add an interface that allows setting the whole array at once. Once all internal users of devices with array properties have bee