[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 09/11] hw/rx/rx62n: Use qdev_prop_set_array()
From: |
Peter Maydell |
Subject: |
Re: [PATCH 09/11] hw/rx/rx62n: Use qdev_prop_set_array() |
Date: |
Mon, 11 Sep 2023 16:50:41 +0100 |
On Fri, 8 Sept 2023 at 15:37, Kevin Wolf <kwolf@redhat.com> wrote:
>
> 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>
> ---
> hw/rx/rx62n.c | 19 ++++++++++---------
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM
- Re: [PATCH 06/11] hw/arm/vexpress: Use qdev_prop_set_array(), (continued)
- [PATCH 07/11] hw/arm/virt: Use qdev_prop_set_array(), Kevin Wolf, 2023/09/08
- [PATCH 11/11] qdev: Rework array properties based on list visitor, Kevin Wolf, 2023/09/08
- [PATCH 09/11] hw/rx/rx62n: Use qdev_prop_set_array(), Kevin Wolf, 2023/09/08
- [PATCH 08/11] hw/arm/xlnx-versal: Use qdev_prop_set_array(), Kevin Wolf, 2023/09/08
- [PATCH 10/11] qom: Add object_property_set_default_list(), Kevin Wolf, 2023/09/08