Skip to content

add DEFINE_TYPES() helper to simplify batch type registration

Igor Mammedov qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 6 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3qom: update doc comment for type_register[_static]()include/qom/object.h+2 -21 reply
2/3qom: introduce type_register_static_array()include/qom/object.h qom/object.c+19 -02 replies
3/3qom: add helper macro DEFINE_TYPES()include/qom/object.h+36 -03 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchEduardo HabkostPhilippe Mathieu-Daudé
1/3R-b
2/3R-b R-b
3/3R-b R-b

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/3] add DEFINE_TYPES() helper to simplify batch type registration

following thread '[PATCH 01/38] qom: add helper type_init_from_array()' here is reworked variant of above patch as Eduardo have suggested (+ split in several atomic parts)

PS:
posting for early review, I'll wait for a couple of days before reposting whole series that will use DEFINE_TYPES() to simplify cpu types registration

Igor Mammedov (3):
qom: update doc comment for type_register[_static]()
qom: introduce type_register_static_array()
qom: add helper macro DEFINE_TYPES()

 include/qom/object.h | 50 ++++++++++++++++++++++++++++++++++++++++++++++++--
 qom/object.c         |  9 +++++++++
 2 files changed, 57 insertions(+), 2 deletions(-)
Signature · 1 line
2.7.4