Skip to content

Hi

[email protected] kvm linux-cxl qemu-arm qemu-devel qemu-riscv xen-devel 1 version In review

Get series with b4
b4 am [email protected] change-id 20261020-qom-qapi-ceecbb2aa35f

Versions newest first

  1. v7 Latest65 patches 39 repliesIn review

Changes in v7 from the cover letter

- fixed a few more mis-typed list properties
- use designated initializers for StructTm fields
- assert enum get() returns >= or an error
- a few commit message and code comment tweaks
- rebased, add r-b trailers

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/65qapi/schema: Rename .lookup_entity() and tighten return typedocs/sphinx/qapidoc.py scripts/qapi/schema.py+4 -40 replies
2/65qapi: Ease access to introspection namesscripts/qapi/introspect.py scripts/qapi/schema.py+47 -190 replies
3/65qapi/introspect: Simplify masked name comment emission slighlyscripts/qapi/introspect.py+6 -60 replies
4/65qapi/introspect: Don't elide typesdocs/devel/qapi-code-gen.rst scripts/qapi/introspect.py+4 -290 replies
5/65qapi: QAPISchemaVisitor.visit_needed() is now unused, dropscripts/qapi/schema.py+1 -70 replies
6/65qapi/introspect: Tweak integer type maskingscripts/qapi/introspect.py+10 -80 replies
7/65qapi: add QAPITypeInfo struct definitioninclude/qapi/qapi-type-info.h+31 -03 replies
8/65qapi/gen: fix _module_basename for multi-dash 'what' parametersscripts/qapi/gen.py+1 -10 replies
9/65qapi: add type-infos generatordocs/devel/qapi-code-gen.rst meson.build scripts/qapi/backend.py +1 more+258 -01 reply
10/65meson: add qapi-type-infos-*.c/h to buildqapi/meson.build qga/meson.build tests/include/meson.build +2 more+15 -01 reply
11/65qom: add qapi_type field to ObjectPropertyinclude/qom/object.h qom/object.c+3 -01 reply
12/65qapi/qom: add qapi-type field to ObjectPropertyInfoqapi/qom.json+10 -00 replies
13/65qom/qmp: populate qapi-type in QMP handlersqom/qom-qmp-cmds.c+21 -130 replies
14/65qom/qmp: populate description & default-value in qom_property_info()qom/qom-qmp-cmds.c+4 -130 replies
15/65qom: add object_property_set_default_enum()include/qom/object.h qom/object.c+18 -00 replies
16/65qom: add object_{class_}property_add_qapiinclude/qom/object.h qom/object.c+87 -00 replies
17/65qom: add object_{class_}property_add_qapi_enuminclude/qom/object.h qom/object.c+159 -53 replies
18/65tests: update check-qom-proplist for QAPI-aware property registrationtests/unit/check-qom-proplist.c+77 -160 replies
19/65qom: convert QAPI enum properties to QAPI-aware registrationauthz/list.c backends/hostmem.c crypto/secret_common.c +9 more+99 -670 replies
20/65qom: convert struct properties to QAPI-aware registrationauthz/list.c block/throttle-groups.c chardev/char-socket.c +7 more+36 -180 replies
21/65x86: convert OnOffAuto properties to QAPI-aware registrationhw/i386/x86.c+45 -590 replies
22/65microvm: convert OnOffAuto properties to QAPI-aware registrationhw/i386/microvm.c+34 -460 replies
23/65pc: convert OnOffAuto vmport property to QAPI-aware registrationhw/i386/pc.c+12 -140 replies
24/65arm/virt: convert OnOffAuto acpi property to QAPI-aware registrationhw/arm/virt.c+12 -150 replies
25/65riscv/virt: convert OnOffAuto properties to QAPI-aware registrationhw/riscv/virt.c+23 -290 replies
26/65loongarch/virt: convert OnOffAuto properties to QAPI-aware registrationhw/loongarch/virt.c+40 -450 replies
27/65hostmem-file: convert OnOffAuto rom property to QAPI-aware registrationbackends/hostmem-file.c+13 -160 replies
28/65sev: convert OnOffAuto legacy-vm-type property to QAPI-aware registrationtarget/i386/sev.c+13 -160 replies
29/65whpx: convert OnOffAuto hyperv property to QAPI-aware registrationaccel/whpx/whpx-common.c+10 -190 replies
30/65whpx: convert OnOffAuto arch properties to QAPI-aware registrationtarget/i386/whpx/whpx-all.c+34 -670 replies
31/65accel/kvm: convert OnOffSplit property to QAPI-aware registrationaccel/kvm/kvm-all.c+10 -160 replies
32/65whpx: convert OnOffSplit property to QAPI-aware registrationaccel/whpx/whpx-common.c+10 -190 replies
33/65hw/ppc/spapr_caps: fix property type namehw/ppc/spapr_caps.c+1 -10 replies
34/65ppc/spapr-caps: convert to QAPI-aware property registrationhw/ppc/spapr_caps.c+20 -190 replies
35/65net/colo-compare: fix compare_timeout setter visitor typenet/colo-compare.c+2 -20 replies
36/65net/colo-compare: fix max_queue_size setter visitor typenet/colo-compare.c+2 -20 replies
37/65hw/misc/xlnx-versal-trng: add missing getter for fips-fault-eventshw/misc/xlnx-versal-trng.c+12 -00 replies
38/65qom: convert scalar properties to QAPI-aware registrationaccel/kvm/kvm-all.c accel/nitro/nitro-accel.c accel/tcg/tcg-all.c +74 more+347 -2443 replies
39/65i386/cpu: convert strList property to QAPI-aware registrationtarget/i386/cpu.c+2 -10 replies
40/65accel/hvf: convert OnOffSplit property to QAPI-aware registrationaccel/hvf/hvf-all.c+11 -180 replies
41/65i386/x86: convert SgxEPCList property to QAPI-aware registrationhw/i386/x86.c+2 -10 replies
42/65virtio-balloon: convert guest-stats property to QAPI typedocs/interop/virtio-balloon-stats.rst hw/virtio/virtio-balloon.c qapi/machine.json+123 -751 reply
43/65qom: replace object_property_add_tm with StructTm QAPI typehw/ppc/spapr_rtc.c hw/rtc/mc146818rtc.c include/qom/object.h +3 more+69 -1041 reply
44/65hw/nvdimm: convert UUID property to QAPI-aware registrationhw/mem/nvdimm.c include/qemu/uuid.h util/uuid.c+11 -21 reply
45/65hw/s390-virtio-ccw: convert loadparm property to QAPI-aware registrationhw/s390x/s390-virtio-ccw.c+3 -10 replies
46/65hw/ppc/spapr_drc: convert fdt property to QAPI-aware registrationhw/ppc/spapr_drc.c+1 -10 replies
47/65hw/s390x: convert BootCertificatesList to QAPI-aware registrationhw/s390x/s390-virtio-ccw.c+5 -20 replies
48/65hw/gpio/pca955x: use QAPI enums for led and pin propertieshw/gpio/pca9552.c hw/gpio/pca9554.c qapi/machine.json+92 -751 reply
49/65include: add QEMU_REPEAT helper macrohw/misc/tz-ppc.c hw/remote/vfio-user-obj.c include/hw/cxl/cxl_component.h +1 more+39 -350 replies
50/65hw/gpio/pca955x: convert pin/led property to QAPI-aware enumhw/gpio/pca9552.c hw/gpio/pca9554.c+131 -2101 reply
51/65hw/pci: change the busnr type to uint8hw/pci/pci.c+1 -10 replies
52/65qdev: add qapi_type field to PropertyInfo with fallback registrationhw/core/qdev-properties.c include/hw/core/qdev-properties.h+53 -160 replies
53/65qdev: convert core PropertyInfo definitions to use qapi_typehw/core/qdev-properties.c+23 -190 replies
54/65qdev: adjust PciDevfn declared typehw/core/qdev-properties-system.c+2 -18 replies
55/65qdev: convert system PropertyInfo definitions to use qapi_typehw/core/qdev-prop-internal.h hw/core/qdev-properties-system.c hw/core/qdev-properties.c+43 -540 replies
56/65hw: convert device-local PropertyInfo definitions to use qapi_typehw/block/xen-block.c hw/display/apple-gfx.m hw/misc/xlnx-versal-trng.c +8 more+23 -120 replies
57/65target/riscv: convert PropertyInfo definitions to use qapi_typetarget/riscv/cpu.c+16 -160 replies
58/65qdev: convert PropertyInfo definitions to use qapi_typebackends/spdm-socket.c backends/tpm/tpm_util.c migration/options.c +1 more+9 -50 replies
59/65qdev: introduce typed array PropertyInfoshw/core/qdev-prop-internal.h hw/core/qdev-properties-system.c hw/core/qdev-properties.c +2 more+119 -210 replies
60/65qdev: simplify DEFINE_PROP_ARRAY and remove generic array PropertyInfohw/core/qdev-properties.c hw/display/apple-gfx-mmio.m hw/display/apple-gfx-pci.m +17 more+35 -471 reply
61/65qdev: remove deprecated PropertyInfo.type and .enum_table fieldshw/core/qdev-properties.c include/hw/core/qdev-properties.h+17 -451 reply
62/65hw/i386: convert PCSouthBridgeOption to QAPI enumhw/i386/pc_piix.c include/hw/i386/pc.h qapi/machine.json+34 -450 replies
63/65qom: remove old enum property registration APIinclude/qom/object.h qom/object.c+4 -1230 replies
64/65qom: use QAPITypeInfo in object_property_get_enumhw/core/machine-qmp-cmds.c include/qom/object.h qom/object.c +1 more+12 -101 reply
65/65tests/qmp-cmd-test: assert qapi-type resolves in query-qmp-schematests/qtest/qmp-cmd-test.c+54 -10 replies

Reviews trailers per patch

22 of 65 patches have a Reviewed-by or Acked-by.

PatchMarc-André LureauMarkus ArmbrusterKostiantyn KostiukAlistair FrancisBibo MaoAmit MachhiwalStefan BergerGlenn MilesEric Blake
1/65R-b
2/65R-b
3/65R-b
4/65R-b
5/65R-b
6/65R-b
7/65
8/65R-b
9/65
10/65R-b
11/65R-b
12/65R-b
13/65R-b
14/65
15/65
16/65
17/65
18/65
19/65
20/65
21/65
22/65
23/65
24/65
25/65A-b
26/65R-b
27/65
28/65
29/65
30/65
31/65
32/65
33/65R-b
34/65R-b
35/65
36/65
37/65
38/65R-b
39/65
40/65
41/65
42/65
43/65R-b
44/65
45/65
46/65R-b
47/65
48/65R-b
49/65
50/65
51/65
52/65
53/65
54/65R-b R-b
55/65
56/65
57/65R-b
58/65R-b
59/65
60/65
61/65
62/65
63/65
64/65
65/65

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 9 reviewers.

Read the v7 thread

Cover letter [PATCH v7 00/65] Hi

This series connects QOM and qdev properties to the QAPI type system, so that management tools can discover the QAPI schema type of each object property.

Today, QOM properties carry a free-form "type" string ("bool", "uint32", "OnOffAuto", ..) that has no formal link to the QAPI schema exposed by query-qmp-schema. Management tools must maintain ad-hoc mappings or rely on naming conventions to figure out how to interpret property values.

This series adds:
- A new QAPITypeInfo struct that pairs a property with its QAPI schema type name, enum lookup table, and list-element type.

- A QAPI code generator (qapi-type-infos) that emits a QAPITypeInfo instance for every schema-defined type, including the mapping between internal C names and the schema name visible to clients.

- A "qapi-type" field in the ObjectPropertyInfo and ObjectPropertyValue QMP structs, populated from the QAPITypeInfo when present giving clients a cross-reference into query-qmp-schema output.

- Conversion of all PropertyInfo definitions from the old .type/.enum_table strings to the new .qapi_type pointer.

- Replacement of the generic qdev_prop_array with typed per-element array PropertyInfos, removing the arrayinfo/arrayfieldsize indirection from struct Property.

- Removal of the deprecated PropertyInfo.type and .enum_table fields, and of the old object_property_add_enum/add_tm APIs.

Along the way, a few pre-existing type mismatches in property definitions are fixed, the "struct tm" RTC property is replaced with a proper QAPI StructTm type etc. Introducing more specific types or a "typedef" to QAPI could help provide better associated type informations than plain "str" in many cases, for example.

Changes in v7:
- fixed a few more mis-typed list properties
- use designated initializers for StructTm fields
- assert enum get() returns >= or an error
- a few commit message and code comment tweaks
- rebased, add r-b trailers

Changes in v6:
- Rebase, resolve a few conflicts
- Replace old PATCH 03-04 by new PATCH 01-06, adjust PATCH 09 [old PATCH 05]
- Fix temporary build breakage: convert PCSouthBridgeOption only when it gets QAPIfied [PATCH 62], delay removal of old interface until after that [PATCH 63].
- Clean up checkpatch long line warnings, except leave the ones in PATCH 38 for later

Changes in v5:
- make "masked_name" mandatory, skip QType QAPITypeInfo generation
- added/split "hw/ppc/spapr_caps: fix property type name" patch
- added "qapi: select introspectable types directly", simplifying type discovery
- fixed an include path
- doc adjustments
- rebased, collect r-b trailers
- Link to v4: https://lore.kernel.org/qemu-devel/[email protected]

Changes in v4:
- new patch "qom/qmp: populate description & default-value"
- added gtk-doc comments for class_property_add_qapi*()
- correct some property types to reflect the visitor
- collected rb, rebased
- Link to v3: https://lore.kernel.org/qemu-devel/[email protected]

Changes in v3:
- QAPI analysis redesign (replacing the old "expose name map" from introspect)
- all non-implicit QAPI types are now introspectable, including QOM-only types
- QAPITypeInfo.schema_name -> masked_name
- exposes integer signedness and width through query-qmp-schema
- various extra property fixes
- rebase, some patch split or merge

- Link to v2: https://lore.kernel.org/qemu-devel/[email protected]

Changes in v2:

- Added kernel-doc documentation for the QAPITypeInfo struct fields.
- Dropped "qom: drop free-form property typename registration", it's
still needed for array of links to provide useful type names.
- Added qdev_prop_link_list for array-of-links properties, with a
create function that generates "link<TYPE>List" type names matching the existing "link<TYPE>" convention.
- qdev_prop_link now uses &str_type_info instead of "link" (the full "link<TYPE>" type name is set at property-add time)
- Simplified DEFINE_PROP_LINK_ARRAY to use qdev_prop_link_list, dropping
the now-unnecessary _arraytype parameter.
- rebased
- Link to v1: https://lore.kernel.org/qemu-devel/[email protected]

---
Marc-André Lureau (59):
qapi: add QAPITypeInfo struct definition
qapi/gen: fix _module_basename for multi-dash 'what' parameters
qapi: add type-infos generator
meson: add qapi-type-infos-*.c/h to build
qom: add qapi_type field to ObjectProperty
qapi/qom: add qapi-type field to ObjectPropertyInfo
qom/qmp: populate qapi-type in QMP handlers
qom/qmp: populate description & default-value in qom_property_info()
qom: add object_property_set_default_enum()
qom: add object_{class_}property_add_qapi
qom: add object_{class_}property_add_qapi_enum
tests: update check-qom-proplist for QAPI-aware property registration
qom: convert QAPI enum properties to QAPI-aware registration
qom: convert struct properties to QAPI-aware registration
x86: convert OnOffAuto properties to QAPI-aware registration
microvm: convert OnOffAuto properties to QAPI-aware registration
pc: convert OnOffAuto vmport property to QAPI-aware registration arm/virt: convert OnOffAuto acpi property to QAPI-aware registration riscv/virt: convert OnOffAuto properties to QAPI-aware registration loongarch/virt: convert OnOffAuto properties to QAPI-aware registration
hostmem-file: convert OnOffAuto rom property to QAPI-aware registration
sev: convert OnOffAuto legacy-vm-type property to QAPI-aware registration
whpx: convert OnOffAuto hyperv property to QAPI-aware registration
whpx: convert OnOffAuto arch properties to QAPI-aware registration accel/kvm: convert OnOffSplit property to QAPI-aware registration
whpx: convert OnOffSplit property to QAPI-aware registration hw/ppc/spapr_caps: fix property type name
ppc/spapr-caps: convert to QAPI-aware property registration net/colo-compare: fix compare_timeout setter visitor type net/colo-compare: fix max_queue_size setter visitor type hw/misc/xlnx-versal-trng: add missing getter for fips-fault-events
qom: convert scalar properties to QAPI-aware registration i386/cpu: convert strList property to QAPI-aware registration accel/hvf: convert OnOffSplit property to QAPI-aware registration i386/x86: convert SgxEPCList property to QAPI-aware registration
virtio-balloon: convert guest-stats property to QAPI type
qom: replace object_property_add_tm with StructTm QAPI type hw/nvdimm: convert UUID property to QAPI-aware registration hw/s390-virtio-ccw: convert loadparm property to QAPI-aware registration hw/ppc/spapr_drc: convert fdt property to QAPI-aware registration hw/s390x: convert BootCertificatesList to QAPI-aware registration hw/gpio/pca955x: use QAPI enums for led and pin properties
include: add QEMU_REPEAT helper macro
hw/gpio/pca955x: convert pin/led property to QAPI-aware enum hw/pci: change the busnr type to uint8
qdev: add qapi_type field to PropertyInfo with fallback registration
qdev: convert core PropertyInfo definitions to use qapi_type
qdev: adjust PciDevfn declared type
qdev: convert system PropertyInfo definitions to use qapi_type
hw: convert device-local PropertyInfo definitions to use qapi_type target/riscv: convert PropertyInfo definitions to use qapi_type
qdev: convert PropertyInfo definitions to use qapi_type
qdev: introduce typed array PropertyInfos
qdev: simplify DEFINE_PROP_ARRAY and remove generic array PropertyInfo
qdev: remove deprecated PropertyInfo.type and .enum_table fields hw/i386: convert PCSouthBridgeOption to QAPI enum
qom: remove old enum property registration API
qom: use QAPITypeInfo in object_property_get_enum tests/qmp-cmd-test: assert qapi-type resolves in query-qmp-schema

Markus Armbruster (6):
qapi/schema: Rename .lookup_entity() and tighten return type
qapi: Ease access to introspection names qapi/introspect: Simplify masked name comment emission slighly qapi/introspect: Don't elide types
qapi: QAPISchemaVisitor.visit_needed() is now unused, drop qapi/introspect: Tweak integer type masking

 accel/hvf/hvf-all.c                      |  29 ++--
 accel/kvm/kvm-all.c                      |  31 ++--
 accel/nitro/nitro-accel.c                |   3 +-
 accel/tcg/tcg-all.c                      |   3 +-
 accel/whpx/whpx-common.c                 |  58 +++----
 authz/list.c                             |  14 +-
 backends/cryptodev.c                     |   7 +-
 backends/hostmem-file.c                  |  33 ++--
 backends/hostmem-memfd.c                 |   3 +-
 backends/hostmem.c                       |  20 +--
 backends/spdm-socket.c                   |   4 +-
 backends/tpm/tpm_util.c                  |   3 +-
 block/throttle-groups.c                  |  10 +-
 chardev/char-socket.c                    |   3 +-
 crypto/secret_common.c                   |  12 +-
 crypto/secret_keyring.c                  |   9 +-
 crypto/tlscreds.c                        |  12 +-
 docs/devel/qapi-code-gen.rst             |  92 ++++++++++-
 docs/interop/virtio-balloon-stats.rst    |  22 +--
 docs/sphinx/qapidoc.py                   |   2 +-
 event-loop-base.c                        |   7 +-
 hw/acpi/ich9.c                           |   1 +
 hw/acpi/pci.c                            |   7 +-
 hw/arm/virt.c                            |  31 ++--
 hw/block/xen-block.c                     |   3 +-
 hw/core/clock.c                          |   3 +-
 hw/core/machine-qmp-cmds.c               |   4 +-
 hw/core/machine.c                        |  13 +-
 hw/core/qdev-prop-internal.h             |  23 +++
 hw/core/qdev-properties-system.c         |  97 ++++++------
 hw/core/qdev-properties.c                | 182 ++++++++++++++-------
 hw/cpu/core.c                            |  10 +-
 hw/cxl/cxl-host.c                        |   6 +-
 hw/display/apple-gfx-mmio.m              |   2 +-
 hw/display/apple-gfx-pci.m               |   2 +-
 hw/display/apple-gfx.h                   |   1 +
 hw/display/apple-gfx.m                   |   7 +-
 hw/gpio/aspeed_gpio.c                    |   5 +-
 hw/gpio/aspeed_sgpio.c                   |   3 +-
 hw/gpio/pca9552.c                        | 261 ++++++++++++-------------------
 hw/gpio/pca9554.c                        | 157 +++++++------------
 hw/gpio/stm32l4x5_gpio.c                 |   5 +-
 hw/i386/microvm.c                        |  80 ++++------
 hw/i386/pc.c                             |  32 ++--
 hw/i386/pc_piix.c                        |  61 +++-----
 hw/i386/sgx-epc.c                        |  10 +-
 hw/i386/x86.c                            | 113 ++++++-------
 hw/ide/ide-dev.c                         |   3 +-
 hw/input/stellaris_gamepad.c             |   2 +-
 hw/intc/apic_common.c                    |   3 +-
 hw/intc/arm_gicv3_common.c               |   2 +-
 hw/intc/arm_gicv5_common.c               |   4 +-
 hw/intc/rx_icu.c                         |   4 +-
 hw/loongarch/virt.c                      |  87 +++++------
 hw/mem/nvdimm.c                          |  11 +-
 hw/mem/pc-dimm.c                         |   3 +-
 hw/microblaze/petalogix_s3adsp1800_mmu.c |  19 ++-
 hw/misc/arm_sysctl.c                     |   4 +-
 hw/misc/aspeed_lpc.c                     |  73 ++++++---
 hw/misc/aspeed_sdmc.c                    |   3 +-
 hw/misc/mps2-scc.c                       |   2 +-
 hw/misc/npcm7xx_mft.c                    |   3 +-
 hw/misc/tz-ppc.c                         |  19 +--
 hw/misc/xlnx-versal-trng.c               |  15 +-
 hw/net/ne2000-isa.c                      |   3 +-
 hw/net/rocker/rocker.c                   |   2 +-
 hw/net/virtio-net.c                      |   2 +-
 hw/nvme/ctrl.c                           |   3 +-
 hw/nvme/nguid.c                          |   3 +-
 hw/nvram/xlnx-bbram.c                    |   3 +-
 hw/nvram/xlnx-efuse.c                    |   5 +-
 hw/nvram/xlnx-versal-efuse-ctrl.c        |   2 +-
 hw/pci-bridge/pci_expander_bridge.c      |   3 +-
 hw/pci-host/i440fx.c                     |  29 ++--
 hw/pci-host/pnv_phb3.c                   |   5 +-
 hw/pci-host/pnv_phb4.c                   |   5 +-
 hw/pci-host/q35.c                        |   9 +-
 hw/pci/pci.c                             |   3 +-
 hw/ppc/spapr_caps.c                      |  39 ++---
 hw/ppc/spapr_drc.c                       |   5 +-
 hw/ppc/spapr_rtc.c                       |  24 ++-
 hw/remote/vfio-user-obj.c                |  22 +--
 hw/riscv/microchip_pfsoc.c               |   3 +-
 hw/riscv/riscv_hart.c                    |   6 +-
 hw/riscv/virt.c                          |  52 +++---
 hw/rtc/mc146818rtc.c                     |  22 ++-
 hw/s390x/ccw-device.c                    |   3 +-
 hw/s390x/css.c                           |   5 +-
 hw/s390x/s390-pci-bus.c                  |   3 +-
 hw/s390x/s390-virtio-ccw.c               |  11 +-
 hw/s390x/sclpcpi.c                       |   8 +-
 hw/s390x/virtio-ccw-mem.c                |   3 +-
 hw/sensor/adc128d818.c                   |  16 +-
 hw/sensor/adm1266.c                      |   3 +-
 hw/sensor/adm1272.c                      |   9 +-
 hw/sensor/emc141x.c                      |   9 +-
 hw/sensor/isl_pmbus_vr.c                 |  19 +--
 hw/sensor/lsm303dlhc_mag.c               |   9 +-
 hw/sensor/max34451.c                     |   5 +-
 hw/sensor/tmp105.c                       |   3 +-
 hw/sensor/tmp421.c                       |   9 +-
 hw/usb/dev-storage-classic.c             |   3 +-
 hw/vfio-user/pci.c                       |   5 +-
 hw/vfio/pci-quirks.c                     |   3 +-
 hw/virtio/virtio-balloon.c               |  87 ++++-------
 hw/virtio/virtio-iommu-pci.c             |   2 +-
 hw/virtio/virtio-mem-pci.c               |   3 +-
 hw/virtio/virtio-mem.c                   |  18 ++-
 hw/xen/xen-pvh-common.c                  |   9 +-
 include/chardev/char.h                   |   8 -
 include/hw/block/block.h                 |   2 +-
 include/hw/core/qdev-properties-system.h |   2 +
 include/hw/core/qdev-properties.h        |  40 +++--
 include/hw/cxl/cxl_component.h           |   5 +-
 include/hw/i386/pc.h                     |   4 +-
 include/qapi/qapi-type-info.h            |  31 ++++
 include/qemu/osdep.h                     |  33 ++++
 include/qemu/uuid.h                      |   4 +
 include/qom/object.h                     | 186 +++++++++++++++-------
 iothread.c                               |   9 +-
 meson.build                              |   1 +
 migration/options.c                      |   4 +-
 monitor/qmp.c                            |  12 +-
 net/colo-compare.c                       |  15 +-
 net/dump.c                               |   6 +-
 net/filter-buffer.c                      |   3 +-
 net/filter.c                             |  10 +-
 qapi/common.json                         |  28 ++++
 qapi/machine.json                        | 152 ++++++++++++++++++
 qapi/meson.build                         |   4 +
 qapi/pragma.json                         |   1 +
 qapi/qom.json                            |  10 ++
 qga/meson.build                          |   2 +
 qom/object.c                             | 237 +++++++++++++---------------
 qom/qom-qmp-cmds.c                       |  47 +++---
 scripts/qapi/backend.py                  |   2 +
 scripts/qapi/gen.py                      |   2 +-
 scripts/qapi/introspect.py               |  74 +++------
 scripts/qapi/schema.py                   |  57 +++++--
 scripts/qapi/type_infos.py               | 163 +++++++++++++++++++
 system/bootdevice.c                      |   3 +-
 system/memory.c                          |   5 +-
 target/arm/cpu64.c                       |  11 +-
 target/arm/kvm.c                         |   3 +-
 target/arm/tcg/cpu64.c                   |  11 +-
 target/i386/cpu.c                        |  26 +--
 target/i386/kvm/kvm.c                    |  38 +++--
 target/i386/kvm/tdx.c                    |   4 +-
 target/i386/sev.c                        |  31 ++--
 target/i386/whpx/whpx-all.c              | 101 ++++--------
 target/ppc/compat.c                      |   3 +-
 target/riscv/cpu.c                       |  47 +++---
 target/riscv/kvm/kvm-cpu.c               |   7 +-
 target/riscv/tcg/tcg-cpu.c               |  13 +-
 target/s390x/cpu-system.c                |   4 +-
 target/s390x/cpu_models.c                |   5 +-
 target/sparc/cpu.c                       |   3 +-
 tests/include/meson.build                |   2 +
 tests/meson.build                        |   6 +
 tests/qapi-schema/meson.build            |   1 +
 tests/qtest/qmp-cmd-test.c               |  55 ++++++-
 tests/unit/check-qom-proplist.c          |  99 +++++++++---
 tests/unit/test-qdev-global-props.c      |  11 +-
 tests/unit/test-qdev.c                   |   2 +-
 ui/console-vc.c                          |   8 +-
 ui/console.c                             |   3 +-
 ui/dbus.c                                |  18 ++-
 ui/input-linux.c                         |  11 +-
 util/thread-context.c                    |   7 +-
 util/uuid.c                              |   5 +
 170 files changed, 2317 insertions(+), 1628 deletions(-)

---
base-commit: 8967b2fe1b2aaae3c29e207d85fab901d580a2dc
change-id: 20261020-qom-qapi-ceecbb2aa35f

Best regards,

Signature · 1 line
Marc-André Lureau <[email protected]>