All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 00/10] QOM: container_get() removal
@ 2025-01-02 15:12 Philippe Mathieu-Daudé
  2025-01-02 15:12 ` [PATCH v3 01/10] qdev: Expose qemu_create_machine() Philippe Mathieu-Daudé
                   ` (10 more replies)
  0 siblings, 11 replies; 14+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-01-02 15:12 UTC (permalink / raw)
  To: qemu-devel
  Cc: Eduardo Habkost, Marc-André Lureau, qemu-block,
	Marcel Apfelbaum, David Hildenbrand, Michael S. Tsirkin,
	Zhenwei Pi, Fam Zheng, Daniel P. Berrangé, Peter Xu,
	Richard Henderson, Paolo Bonzini, Gonglei (Arei),
	Philippe Mathieu-Daudé

Respin of Peter's v2:
https://lore.kernel.org/qemu-devel/20241121192202.4155849-1-peterx@redhat.com/

'The series is about container_get() and its removal.'
(See v2's cover).

Since v2:
- Create fake machine container for user emulation to avoid:

  $ ./qemu-x86_64 /bin/echo foo
  qemu-x86_64: ../../hw/core/qdev.c:825: qdev_get_machine: Assertion `dev' failed.
  Aborted (core dumped)

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é (4):
  qdev: Expose qemu_create_machine()
  qdev: Implement qemu_create_machine() for user emulation
  qdev: Call qemu_create_machine() on user emulation
  qdev: Inline machine_containers[] in qemu_create_machine_containers()

 include/hw/qdev-core.h    | 12 ++++++++++++
 include/qom/object.h      | 21 ++++++++++-----------
 accel/tcg/tcg-all.c       |  8 +++++++-
 backends/cryptodev.c      |  4 ++--
 chardev/char.c            |  2 +-
 hw/core/gpio.c            |  3 +--
 hw/core/qdev-user-stubs.c | 11 +++++++++++
 hw/core/qdev.c            | 21 ++++++++++++++++++---
 hw/core/sysbus.c          |  4 ++--
 hw/i386/pc.c              |  4 ++--
 qom/container.c           | 23 -----------------------
 qom/object.c              | 12 +++++++++++-
 scsi/pr-manager.c         |  4 ++--
 system/ioport.c           |  2 +-
 system/memory.c           |  2 +-
 system/qdev-monitor.c     |  6 +++---
 system/vl.c               | 20 +++++++++-----------
 ui/console.c              |  2 +-
 ui/dbus-chardev.c         |  2 +-
 hw/core/meson.build       |  1 +
 20 files changed, 96 insertions(+), 68 deletions(-)
 create mode 100644 hw/core/qdev-user-stubs.c

-- 
2.47.1



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-01-02 21:16 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-02 15:12 [PATCH v3 00/10] QOM: container_get() removal Philippe Mathieu-Daudé
2025-01-02 15:12 ` [PATCH v3 01/10] qdev: Expose qemu_create_machine() Philippe Mathieu-Daudé
2025-01-02 15:12 ` [PATCH v3 02/10] qdev: Implement qemu_create_machine() for user emulation Philippe Mathieu-Daudé
2025-01-02 15:17   ` Philippe Mathieu-Daudé
2025-01-02 15:12 ` [PATCH v3 03/10] qdev: Call qemu_create_machine() on " Philippe Mathieu-Daudé
2025-01-02 15:12 ` [PATCH v3 04/10] qdev: Make qdev_get_machine() not use container_get() Philippe Mathieu-Daudé
2025-01-02 15:12 ` [PATCH v3 05/10] qdev: Add machine_get_container() Philippe Mathieu-Daudé
2025-01-02 15:12 ` [PATCH v3 06/10] qdev: Use machine_get_container() Philippe Mathieu-Daudé
2025-01-02 15:12 ` [PATCH v3 07/10] qom: Add object_get_container() Philippe Mathieu-Daudé
2025-01-02 15:12 ` [PATCH v3 08/10] qom: Use object_get_container() Philippe Mathieu-Daudé
2025-01-02 15:12 ` [PATCH v3 09/10] qom: Remove container_get() Philippe Mathieu-Daudé
2025-01-02 15:12 ` [PATCH v3 10/10] qdev: Inline machine_containers[] in qemu_create_machine_containers() Philippe Mathieu-Daudé
2025-01-02 17:29 ` [PATCH v3 00/10] QOM: container_get() removal Peter Xu
2025-01-02 21:14   ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.