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 CC: ehabk...@redhat.com CC: peter.mayd...@linaro.org 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(-) -- 2.7.4