[PULL 00/16] qom-qdev queue 20260827

Mark Cave-Ayland posted 16 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260827143404.1393166-1-mark.caveayland@nutanix.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <anisinha@redhat.com>, "Philippe Mathieu-Daudé" <philmd@mailo.com>, Aurelien Jarno <aurelien@aurel32.net>, Peter Maydell <peter.maydell@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, "Daniel P. Berrangé" <berrange@redhat.com>
include/hw/acpi/ich9.h         |   2 +-
include/hw/pci/pci_bus.h       |   2 +
include/qom/object.h           |  90 ++++++++++++++++++++++
hw/acpi/generic_event_device.c |  10 +++
hw/acpi/ich9.c                 | 115 +++++++++++----------------
hw/acpi/pci-bridge.c           |   9 ++-
hw/acpi/pcihp.c                |  35 ++++-----
hw/acpi/piix4.c                |  51 ++++++++----
hw/arm/virt-acpi-build.c       |   5 +-
hw/i386/acpi-build.c           |   5 +-
hw/isa/lpc_ich9.c              |  36 +++++----
hw/pci/pci.c                   |   7 ++
qom/object.c                   | 171 +++++++++++++++++++++++++++++++++++++++++
13 files changed, 416 insertions(+), 122 deletions(-)
[PULL 00/16] qom-qdev queue 20260827
Posted by Mark Cave-Ayland 1 month ago
The following changes since commit bbc8fb89fa3478a6f47c0475d2e4952e69a64f45:

  Merge tag 'pull-tcg-20260826' of https://gitlab.com/rth7680/qemu into staging (2026-08-26 21:33:14 -0700)

are available in the Git repository at:

  https://gitlab.com/mcayland-ntx/qemu.git tags/classprop-hw-acpi-upstream-20260827

for you to fetch changes up to 3435f9eed289b362097429d031c75bdaa847446b:

  hw/acpi/piix4.c: convert ACPI_PM_PROP_PM_IO_BASE to a class prop (2026-08-27 15:22:11 +0100)

----------------------------------------------------------------
qom-qdev queue
- Conversion of object properties to class properties (hw/acpi)

----------------------------------------------------------------
Mark Cave-Ayland (16):
      qom/object.c: introduce OBJECT_CLASS_PROPERTY_SCALAR_GETTER(type) macro
      qom/object.c: introduce OBJECT_CLASS_PROPERTY_SCALAR_SETTER(type) macro
      qom/object.c: introduce DEFINE_OBJECT_CLASS_PROPERTY_SCALAR_METHODS() macro
      qom/object.c: add object_class_property_add_uint8_ptr()
      qom/object.c: add object_class_property_add_uint64_ptr()
      hw/isa/lpc_ich9.c: convert ich9_lpc_initfn() object props to class props
      hw/acpi/ich9.c: don't pass ICH9LPCPMRegs via opaque for ACPI_PM_PROP_GPE0_BLK prop
      qom/object.c: add object_class_property_add_uint32_ptr()
      hw/acpi/ich9.c: convert ACPI_PM_PROP_GPE0_BLK_LEN to a static class property
      qom/object.c: add object_class_property_add_bool_ptr()
      hw/acpi/ich9.c: convert object props in ICH9_LPC_DEVICE to class props
      qom/object.c: add object_class_property_add_uint16_ptr()
      hw/acpi/pcihp.c: convert ACPI_PCIHP_IO_BASE_PROP and ACPI_PCIHP_IO_BASE_PROP to class props
      hw/acpi/pcihp.c: convert ACPI_PCIHP_PROP_BSEL from object prop to class prop
      hw/acpi/piix4.c: convert static variables to static class properties
      hw/acpi/piix4.c: convert ACPI_PM_PROP_PM_IO_BASE to a class prop

 include/hw/acpi/ich9.h         |   2 +-
 include/hw/pci/pci_bus.h       |   2 +
 include/qom/object.h           |  90 ++++++++++++++++++++++
 hw/acpi/generic_event_device.c |  10 +++
 hw/acpi/ich9.c                 | 115 +++++++++++----------------
 hw/acpi/pci-bridge.c           |   9 ++-
 hw/acpi/pcihp.c                |  35 ++++-----
 hw/acpi/piix4.c                |  51 ++++++++----
 hw/arm/virt-acpi-build.c       |   5 +-
 hw/i386/acpi-build.c           |   5 +-
 hw/isa/lpc_ich9.c              |  36 +++++----
 hw/pci/pci.c                   |   7 ++
 qom/object.c                   | 171 +++++++++++++++++++++++++++++++++++++++++
 13 files changed, 416 insertions(+), 122 deletions(-)
Re: [PULL 00/16] qom-qdev queue 20260827
Posted by Richard Henderson 1 month ago
On 8/27/26 07:33, Mark Cave-Ayland wrote:
> The following changes since commit bbc8fb89fa3478a6f47c0475d2e4952e69a64f45:
> 
>    Merge tag 'pull-tcg-20260826' ofhttps://gitlab.com/rth7680/qemu into staging (2026-08-26 21:33:14 -0700)
> 
> are available in the Git repository at:
> 
>    https://gitlab.com/mcayland-ntx/qemu.git tags/classprop-hw-acpi-upstream-20260827
> 
> for you to fetch changes up to 3435f9eed289b362097429d031c75bdaa847446b:
> 
>    hw/acpi/piix4.c: convert ACPI_PM_PROP_PM_IO_BASE to a class prop (2026-08-27 15:22:11 +0100)
> 
> ----------------------------------------------------------------
> qom-qdev queue
> - Conversion of object properties to class properties (hw/acpi)

Applied, thanks.

r~