| commit | 80e09151c202d5a5b740cf1b25ea59fac342f879 | [log] [tgz] |
|---|---|---|
| author | Kevin Wolf <kwolf@redhat.com> | Thu Nov 09 18:42:32 2023 +0100 |
| committer | Kevin Wolf <kwolf@redhat.com> | Fri Nov 10 18:19:13 2023 +0100 |
| tree | b82385d014f146e045d5ec721e17b2919bc026e6 | |
| parent | 31805a0aa46d8806fcdac7e1473251f40ca5b993 [diff] |
hw/arm/mps2: 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-4-kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>