Re: [PATCH v3 01/11] hw/i386/pc: Use qdev_prop_set_array()

2023-11-09 Thread Philippe Mathieu-Daudé
On 9/11/23 18:42, 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 --- hw/i386/pc.c | 8 +---

[PATCH v3 01/11] hw/i386/pc: Use qdev_prop_set_array()

2023-11-09 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 Reviewed-by: Peter Maydell --- hw/i386/pc.c | 8 +--- 1 file changed, 5 insertions(+), 3 de