[PATCH v2 00/10] qom: misc cleanups / fixes

Daniel P. Berrangé posted 10 patches 2 weeks, 3 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260508112429.643360-1-berrange@redhat.com
Maintainers: "Daniel P. Berrangé" <berrange@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
There is a newer version of this series
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(-)
[PATCH v2 00/10] qom: misc cleanups / fixes
Posted by Daniel P. Berrangé 2 weeks, 3 days ago
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 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