Re: [PATCH 05/11] hw/arm/sbsa-ref: Use qdev_prop_set_array()

2023-09-11 Thread Peter Maydell
On Fri, 8 Sept 2023 at 15:37, Kevin Wolf wrote: > > Instead of manually setting "foo-len" and "foo[i]" properties, build a > QList and use the new qdev_prop_set_array() helper to set the whole > array property with a single call. > > Signed-off-by: Kevin Wolf > --- Reviewed-by: Peter Maydell t

[PATCH 05/11] hw/arm/sbsa-ref: Use qdev_prop_set_array()

2023-09-08 Thread Kevin Wolf
Instead of manually setting "foo-len" and "foo[i]" properties, build a QList and use the new qdev_prop_set_array() helper to set the whole array property with a single call. Signed-off-by: Kevin Wolf --- hw/arm/sbsa-ref.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a