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 +---
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