mbox

[PULL,00/11] QOM / QDev patches for 2025-01-09

Message ID 20250109171948.31092-1-philmd@linaro.org (mailing list archive)
State New
Headers show

Pull-request

https://github.com/philmd/qemu.git tags/qom-qdev-20250109

Message

Philippe Mathieu-Daudé Jan. 9, 2025, 5:19 p.m. UTC
The following changes since commit 3f8bcbba3b320c610689576fc47595f1076198dd:

  Merge tag 'pull-request-2025-01-08' of https://gitlab.com/thuth/qemu into staging (2025-01-08 11:38:21 -0500)

are available in the Git repository at:

  https://github.com/philmd/qemu.git tags/qom-qdev-20250109

for you to fetch changes up to 5f396935f8f1628005ef14a3c4c3dc84c6aa3d96:

  system: Inline machine_containers[] in qemu_create_machine_containers() (2025-01-09 18:16:27 +0100)

----------------------------------------------------------------
QOM & QDev patches

- Remove DeviceState::opts (Akihiko)
- Replace container_get by machine/object_get_container (Peter)
- Remove InterfaceInfo::concrete_class field (Paolo)
- Reduce machine_containers[] scope (Philippe)

----------------------------------------------------------------

Akihiko Odaki (2):
  hw/pci: Use -1 as the default value for rombar
  qdev: Remove opts member

Paolo Bonzini (1):
  qom: remove unused InterfaceInfo::concrete_class field

Peter Xu (6):
  qdev: Make qdev_get_machine() not use container_get()
  qdev: Add machine_get_container()
  qdev: Use machine_get_container()
  qom: Add object_get_container()
  qom: Use object_get_container()
  qom: Remove container_get()

Philippe Mathieu-Daudé (2):
  qdev: Implement qdev_create_fake_machine() for user emulation
  system: Inline machine_containers[] in
    qemu_create_machine_containers()

 include/hw/pci/pci_device.h |  2 +-
 include/hw/qdev-core.h      | 24 ++++++++++++++++++++----
 include/qom/object.h        | 26 ++++++++++++++------------
 accel/tcg/tcg-all.c         |  8 +++++++-
 backends/cryptodev.c        |  4 ++--
 chardev/char.c              |  2 +-
 hw/core/gpio.c              |  3 +--
 hw/core/qdev-user.c         | 19 +++++++++++++++++++
 hw/core/qdev.c              | 22 ++++++++++++++++++----
 hw/core/sysbus.c            |  4 ++--
 hw/i386/pc.c                |  4 ++--
 hw/pci/pci.c                |  2 +-
 hw/vfio/pci.c               |  5 ++---
 qom/container.c             | 23 -----------------------
 qom/object.c                | 13 +++++++++++--
 scsi/pr-manager.c           |  4 ++--
 system/ioport.c             |  2 +-
 system/memory.c             |  2 +-
 system/qdev-monitor.c       | 18 ++++++++++--------
 system/vl.c                 | 19 ++++++++-----------
 ui/console.c                |  2 +-
 ui/dbus-chardev.c           |  2 +-
 hw/core/meson.build         |  1 +
 23 files changed, 126 insertions(+), 85 deletions(-)
 create mode 100644 hw/core/qdev-user.c