diff options
author | Kevin Wolf <kwolf@redhat.com> | 2023-11-09 18:42:30 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-11-10 18:19:07 +0100 |
commit | 33f0c061287fcb8c4ae97802374a6208778684a4 (patch) | |
tree | a17f273a2ed73715ee155cc957a1743bda770dfd /hw/arm | |
parent | ea10c3817814b8be75be22c78ea91d633b0d2532 (diff) | |
download | qemu-33f0c061287fcb8c4ae97802374a6208778684a4.zip qemu-33f0c061287fcb8c4ae97802374a6208778684a4.tar.gz qemu-33f0c061287fcb8c4ae97802374a6208778684a4.tar.bz2 |
hw/i386/pc: 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-2-kwolf@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/arm')
0 files changed, 0 insertions, 0 deletions