On 8/9/23 16: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 <kw...@redhat.com> --- hw/rx/rx62n.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>