Re: [Qemu-devel] [PATCH] qom: remove type_initialize() in object_new_with_type()

2019-03-02 Thread Wei Yang
On Fri, Mar 01, 2019 at 10:33:46AM +0100, Igor Mammedov wrote: >On Fri, 1 Mar 2019 15:44:48 +0800 >Wei Yang wrote: > >> Here is the abstraction of current call flow of object_new_with_type() >> >> object_initialize_with_type >> type_initialize >> object_initialize_with_type >>

Re: [Qemu-devel] [PATCH] qom: remove type_initialize() in object_new_with_type()

2019-03-01 Thread Igor Mammedov
On Fri, 1 Mar 2019 15:44:48 +0800 Wei Yang wrote: > Here is the abstraction of current call flow of object_new_with_type() > > object_initialize_with_type > type_initialize > object_initialize_with_type > type_initialize > > This is not necessary to spread

[Qemu-devel] [PATCH] qom: remove type_initialize() in object_new_with_type()

2019-02-28 Thread Wei Yang
Here is the abstraction of current call flow of object_new_with_type() object_initialize_with_type type_initialize object_initialize_with_type type_initialize This is not necessary to spread type_initialize in two places. Signed-off-by: Wei Yang ---