QEMU-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 00/10] qom: misc cleanups / fixes
@ 2026-05-12 12:29 Daniel P. Berrangé
  2026-05-12 12:29 ` [PATCH v4 01/10] qom: add trace events for object/property lifecycle Daniel P. Berrangé
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Daniel P. Berrangé @ 2026-05-12 12:29 UTC (permalink / raw)
  To: qemu-devel
  Cc: Daniel P. Berrangé, Paolo Bonzini, Marc-André Lureau,
	Philippe Mathieu-Daudé

The overall theme of this patch is to move some logic out of
object_interfaces.c into object.c, since it is not tied to
the user creatable interface.

Changed in v4:

 - Invoke  va_end on the correct variable
 - Fix commit message typo

Changed in v3:

 - Fix parent/child mixup in trace event param names
 - Make QDict const in new constructors

Changed in v2:

 - Ensure object creation always triggers module loading
 - Remove redundant NULL check in trace event
 - Remove double #include line

Daniel P. Berrangé (10):
  qom: add trace events for object/property lifecycle
  qom: validate ID format when creating objects
  qom: make errp last param in methods taking va_list
  qom: shorten name of object_set_properties_from_keyval
  qom: have object_set_props_keyval return bool
  qom: move object_set_prop_keyval into object.c
  qom: add object_new_with_props_from_qdict
  qom: fix ability to create objects without a parent
  qom: allow object_new_with_prop* to trigger module loading
  qom: drop user_creatable_add_type method

 authz/listfile.c                |   4 +-
 include/qom/object.h            | 121 ++++++++++++++---
 include/qom/object_interfaces.h |  18 ---
 qom/object.c                    | 230 ++++++++++++++++++++++++++++----
 qom/object_interfaces.c         | 101 +-------------
 qom/trace-events                |  12 +-
 system/qdev-monitor.c           |   4 +-
 system/vl.c                     |   7 +-
 tests/unit/check-qom-proplist.c |  97 +++++++++++---
 9 files changed, 409 insertions(+), 185 deletions(-)

-- 
2.54.0



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

end of thread, other threads:[~2026-05-13 14:36 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-12 12:29 [PATCH v4 00/10] qom: misc cleanups / fixes Daniel P. Berrangé
2026-05-12 12:29 ` [PATCH v4 01/10] qom: add trace events for object/property lifecycle Daniel P. Berrangé
2026-05-13  6:16   ` Philippe Mathieu-Daudé
2026-05-13 14:33     ` Philippe Mathieu-Daudé
2026-05-12 12:29 ` [PATCH v4 02/10] qom: validate ID format when creating objects Daniel P. Berrangé
2026-05-13 14:35   ` Philippe Mathieu-Daudé
2026-05-12 12:29 ` [PATCH v4 03/10] qom: make errp last param in methods taking va_list Daniel P. Berrangé
2026-05-12 12:29 ` [PATCH v4 04/10] qom: shorten name of object_set_properties_from_keyval Daniel P. Berrangé
2026-05-12 12:29 ` [PATCH v4 05/10] qom: have object_set_props_keyval return bool Daniel P. Berrangé
2026-05-12 12:29 ` [PATCH v4 06/10] qom: move object_set_prop_keyval into object.c Daniel P. Berrangé
2026-05-12 12:29 ` [PATCH v4 07/10] qom: add object_new_with_props_from_qdict Daniel P. Berrangé
2026-05-12 12:29 ` [PATCH v4 08/10] qom: fix ability to create objects without a parent Daniel P. Berrangé
2026-05-13 14:35   ` Philippe Mathieu-Daudé
2026-05-12 12:29 ` [PATCH v4 09/10] qom: allow object_new_with_prop* to trigger module loading Daniel P. Berrangé
2026-05-12 12:29 ` [PATCH v4 10/10] qom: drop user_creatable_add_type method Daniel P. Berrangé
2026-05-13 14:35   ` Philippe Mathieu-Daudé
2026-05-12 13:12 ` [PATCH v4 00/10] qom: misc cleanups / fixes marcandre.lureau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox