On 02/28/2012 05:57 AM, Igor Mitsyanko wrote:
Eliminate impossibility of creating objects of types with @instance_size == 0.
Applied all. Thanks. Regards, Anthony Liguori
v1->v2: type's instance size now initialized during type initialization. type_class_init() renamed (in additional patch) Igor Mitsyanko (2): qom: if @instance_size==0, assign size of object to parent object size qom/object.c: rename type_class_init() to type_initialize() qom/object.c | 27 +++++++++++++++++++++------ 1 files changed, 21 insertions(+), 6 deletions(-)