Skip to content

qom: misc cleanups / fixes

Daniel P. Berrangé qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest10 patches 6 repliesIn review
  2. v310 patches 1 replySuperseded
  3. v210 patches 11 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v19 patches7 repliesSuperseded

Changes in v4 from the cover letter

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

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10qom: add trace events for object/property lifecycleqom/object.c qom/trace-events+37 -92 replies
2/10qom: validate ID format when creating objectsqom/object.c+9 -01 reply
3/10qom: make errp last param in methods taking va_listinclude/qom/object.h qom/object.c tests/unit/check-qom-proplist.c+17 -170 replies
4/10qom: shorten name of object_set_properties_from_keyvalinclude/qom/object.h qom/object_interfaces.c system/qdev-monitor.c +1 more+15 -140 replies
5/10qom: have object_set_props_keyval return boolinclude/qom/object.h qom/object_interfaces.c+12 -50 replies
6/10qom: move object_set_prop_keyval into object.cinclude/qom/object.h qom/object.c qom/object_interfaces.c+67 -520 replies
7/10qom: add object_new_with_props_from_qdictinclude/qom/object.h qom/object.c+88 -60 replies
8/10qom: fix ability to create objects without a parentinclude/qom/object.h qom/object.c tests/unit/check-qom-proplist.c+187 -221 reply
9/10qom: allow object_new_with_prop* to trigger module loadingqom/object.c+1 -10 replies
10/10qom: drop user_creatable_add_type methodauthz/listfile.c include/qom/object_interfaces.h qom/object_interfaces.c +1 more+7 -901 reply

Reviews trailers per patch

6 of 10 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPhilippe Mathieu-DaudéMarc-André Lureau
SeriesR-b
1/10R-b T-b
2/10R-b T-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10
8/10T-b
9/10
10/10T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 00/10] qom: misc cleanups / fixes

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(-)
Signature · 1 line
2.54.0