Re: [PATCH 11/11] qdev: Rework array properties based on list visitor

2023-10-23 Thread Markus Armbruster
Kevin Wolf writes: > Am 14.10.2023 um 08:36 hat Markus Armbruster geschrieben: >> Kevin Wolf writes: >> >> > Am 22.09.2023 um 17:05 hat Markus Armbruster geschrieben: >> >> Kevin Wolf writes: >> >> >> >> > Until now, array properties are actually implemented with a hack that >> >> > uses mult

Re: [PATCH 11/11] qdev: Rework array properties based on list visitor

2023-10-16 Thread Kevin Wolf
Am 14.10.2023 um 08:36 hat Markus Armbruster geschrieben: > Kevin Wolf writes: > > > Am 22.09.2023 um 17:05 hat Markus Armbruster geschrieben: > >> Kevin Wolf writes: > >> > >> > Until now, array properties are actually implemented with a hack that > >> > uses multiple properties on the QOM lev

Re: [PATCH 11/11] qdev: Rework array properties based on list visitor

2023-10-13 Thread Markus Armbruster
Kevin Wolf writes: > Am 22.09.2023 um 17:05 hat Markus Armbruster geschrieben: >> Kevin Wolf writes: >> >> > Until now, array properties are actually implemented with a hack that >> > uses multiple properties on the QOM level: a static "foo-len" property >> > and after it is set, dynamically cr

Re: [PATCH 11/11] qdev: Rework array properties based on list visitor

2023-10-13 Thread Kevin Wolf
Am 22.09.2023 um 17:05 hat Markus Armbruster geschrieben: > Kevin Wolf writes: > > > Until now, array properties are actually implemented with a hack that > > uses multiple properties on the QOM level: a static "foo-len" property > > and after it is set, dynamically created "foo[i]" properties. >

Re: [PATCH 11/11] qdev: Rework array properties based on list visitor

2023-09-22 Thread Markus Armbruster
Kevin Wolf writes: > Until now, array properties are actually implemented with a hack that > uses multiple properties on the QOM level: a static "foo-len" property > and after it is set, dynamically created "foo[i]" properties. > > In external interfaces (-device on the command line and device_ad

Re: [PATCH 11/11] qdev: Rework array properties based on list visitor

2023-09-14 Thread Kevin Wolf
Am 14.09.2023 um 12:24 hat Peter Maydell geschrieben: > On Fri, 8 Sept 2023 at 15:37, Kevin Wolf wrote: > > > > Until now, array properties are actually implemented with a hack that > > uses multiple properties on the QOM level: a static "foo-len" property > > and after it is set, dynamically crea

Re: [PATCH 11/11] qdev: Rework array properties based on list visitor

2023-09-14 Thread Peter Maydell
On Fri, 8 Sept 2023 at 15:37, Kevin Wolf wrote: > > Until now, array properties are actually implemented with a hack that > uses multiple properties on the QOM level: a static "foo-len" property > and after it is set, dynamically created "foo[i]" properties. > > In external interfaces (-device on

Re: [PATCH 11/11] qdev: Rework array properties based on list visitor

2023-09-08 Thread Kevin Wolf
Am 08.09.2023 um 17:18 hat Peter Maydell geschrieben: > On Fri, 8 Sept 2023 at 15:37, Kevin Wolf wrote: > > > > Until now, array properties are actually implemented with a hack that > > uses multiple properties on the QOM level: a static "foo-len" property > > and after it is set, dynamically crea

Re: [PATCH 11/11] qdev: Rework array properties based on list visitor

2023-09-08 Thread Peter Maydell
On Fri, 8 Sept 2023 at 15:37, Kevin Wolf wrote: > > Until now, array properties are actually implemented with a hack that > uses multiple properties on the QOM level: a static "foo-len" property > and after it is set, dynamically created "foo[i]" properties. > > In external interfaces (-device on

[PATCH 11/11] qdev: Rework array properties based on list visitor

2023-09-08 Thread Kevin Wolf
Until now, array properties are actually implemented with a hack that uses multiple properties on the QOM level: a static "foo-len" property and after it is set, dynamically created "foo[i]" properties. In external interfaces (-device on the command line and device_add in QMP), this interface was