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. I managed to do
without the QAPI generator changes from v7's PATCH 07+09.
With this applied on top of "[PATCH v2 0/5] qom/qdev: associate
properties with QAPI types fixups", @qapi-type is always present, and
the QAPI schema reflects that.
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]>
v2:
* PATCH 1: Fix qdev_prop_link_array.qapi_type, expand tabs
(Marc-André)
* PATCH 3: New
Marc-André Lureau (2):
qdev: Convert array properties to QAPI-aware registration
qdev: Remove unused DEFINE_PROP_ARRAY parameter _arraytype
Markus Armbruster (1):
qapi/qom: Make @qapi-type mandatory in output of qom-list etc.
qapi/qom.json | 10 ++--
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 +++
24 files changed, 114 insertions(+), 73 deletions(-)
--
2.55.0