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 <kw...@redhat.com> Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> --- hw/i386/pc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>