In my "[PATCH v8 RESEND 00/56] qom/qdev: associate properties with
QAPI schema types", I noted under "Changes in v8":
* Drop typed array PropertyInfos
Why? They complicate matters, and I ran out of time.
This series brings them back. It's an updated version of PATCH 59+60
and a small part of PATCH 61 from Marc-André's v7.
With this applied on top of "[PATCH 0/4] qom/qdev: associate
properties with QAPI types fixups", only child and link properties
lack @qapi-type in my testing.
We could perhaps still include this in 11.2 as a bug fix, but I lean
towards queuing it up in my tree, with me taking care of the eventual
rebase.
Based-on: <[email protected]>
Marc-André Lureau (2):
qdev: Convert array properties to QAPI-aware registration
qdev: Remove unused DEFINE_PROP_ARRAY parameter _arraytype
hw/core/qdev-prop-internal.h | 19 +++++++
hw/display/apple-gfx.h | 1 +
include/hw/block/block.h | 2 +-
include/hw/core/qdev-properties-system.h | 2 +
include/hw/core/qdev-properties.h | 37 +++++++-------
hw/core/qdev-properties-system.c | 6 +++
hw/core/qdev-properties.c | 64 ++++++++++++++----------
hw/input/stellaris_gamepad.c | 2 +-
hw/intc/arm_gicv3_common.c | 2 +-
hw/intc/arm_gicv5_common.c | 4 +-
hw/intc/rx_icu.c | 4 +-
hw/misc/arm_sysctl.c | 4 +-
hw/misc/mps2-scc.c | 2 +-
hw/net/rocker/rocker.c | 2 +-
hw/net/virtio-net.c | 2 +-
hw/nvram/xlnx-efuse.c | 2 +-
hw/nvram/xlnx-versal-efuse-ctrl.c | 2 +-
hw/riscv/riscv_hart.c | 6 +--
hw/virtio/virtio-iommu-pci.c | 2 +-
tests/unit/test-qdev.c | 2 +-
hw/display/apple-gfx-mmio.m | 2 +-
hw/display/apple-gfx-pci.m | 2 +-
hw/display/apple-gfx.m | 6 +++
23 files changed, 110 insertions(+), 67 deletions(-)
--
2.55.0