diff options
author | Kevin Wolf <kwolf@redhat.com> | 2023-11-09 18:42:33 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-11-10 18:19:13 +0100 |
commit | d210fa2f055bc1528cfb32c1b644cebbe36ff220 (patch) | |
tree | c86e4e01e115f4c316d66eeeab6c8ca7d1a3296a /qemu-io.c | |
parent | 80e09151c202d5a5b740cf1b25ea59fac342f879 (diff) | |
download | qemu-d210fa2f055bc1528cfb32c1b644cebbe36ff220.zip qemu-d210fa2f055bc1528cfb32c1b644cebbe36ff220.tar.gz qemu-d210fa2f055bc1528cfb32c1b644cebbe36ff220.tar.bz2 |
hw/arm/sbsa-ref: Use qdev_prop_set_array()
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 <kwolf@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-ID: <20231109174240.72376-5-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions