Re: RFC: QMP configuration - allocating/setting qdev array properties?

2022-01-24 Thread Markus Armbruster
John Snow writes: > On Wed, Jan 19, 2022 at 5:12 AM Markus Armbruster wrote: [...] >> Another stop gap solution could be making QDict iterate in insertion >> order, like Python dict does since 3.6. >> > > I like this idea, I think. Are there any possible downsides here? > Making the order

Re: RFC: QMP configuration - allocating/setting qdev array properties?

2022-01-24 Thread John Snow
On Wed, Jan 19, 2022 at 5:12 AM Markus Armbruster wrote: > > Damien Hedde writes: > > > Hi Mirela, > > > > On 1/11/22 17:54, Mirela Grujic wrote: > >> Hi, > >> > >> While working on a prototype and configuring a whole machine using > >> QMP we run into the following scenario. > >> > >> Some

Re: RFC: QMP configuration - allocating/setting qdev array properties?

2022-01-19 Thread Markus Armbruster
Damien Hedde writes: > Hi Mirela, > > On 1/11/22 17:54, Mirela Grujic wrote: >> Hi, >> >> While working on a prototype and configuring a whole machine using >> QMP we run into the following scenario. >> >> Some device models use array properties. A gift that keeps on giving... >>

Re: RFC: QMP configuration - allocating/setting qdev array properties?

2022-01-12 Thread Damien Hedde
Hi Mirela, On 1/11/22 17:54, Mirela Grujic wrote: Hi, While working on a prototype and configuring a whole machine using QMP we run into the following scenario. Some device models use array properties. The array is allocated when len- property is set, then, individual elements of the

RFC: QMP configuration - allocating/setting qdev array properties?

2022-01-11 Thread Mirela Grujic
Hi, While working on a prototype and configuring a whole machine using QMP we run into the following scenario. Some device models use array properties. The array is allocated when len- property is set, then, individual elements of the array can be set as any other property (see