diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2023-11-09 18:42:37 +0100 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2023-11-10 18:19:13 +0100 |
| commit | 670581f932d9415e843de8a5e31e041938248237 (patch) | |
| tree | 051b8fa36c2acf9ce6bb4b3cb3fff01860c436d9 /hw/core/qdev-properties-system.c | |
| parent | 2394c782a9040891429d0f160cf695bf00379a0d (diff) | |
| download | focaccia-qemu-670581f932d9415e843de8a5e31e041938248237.tar.gz focaccia-qemu-670581f932d9415e843de8a5e31e041938248237.zip | |
hw/rx/rx62n: 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> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20231109174240.72376-9-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