diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2023-11-09 18:42:35 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2023-11-10 18:19:13 +0100 |
| commit | 3c86b9dadc378db207d36f6f9c988d6886c8a2e3 (patch) | |
| tree | 2e6bccb800c3a57391270fd096ef30ecfc8d9f8a /hw/core/qdev-properties-system.c | |
| parent | 50ab8648c0ae513ca882b07571837b41668655fd (diff) | |
| download | focaccia-qemu-3c86b9dadc378db207d36f6f9c988d6886c8a2e3.tar.gz focaccia-qemu-3c86b9dadc378db207d36f6f9c988d6886c8a2e3.zip | |
hw/arm/virt: 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-7-kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions