Re: [PATCH] qom/container: remove .instance_size initializer from container_info

2020-05-21 Thread Paolo Bonzini
On 13/05/20 05:36, Masahiro Yamada wrote: > You can omit .instance_size if it is the same as that of the parent. > > .class_size = sizeof(ObjectClass) > > ... is omitted here, so removing .instance_size is more consistent. > > Signed-off-by: Masahiro Yamada > --- > > qom/container.c | 1 -

[PATCH] qom/container: remove .instance_size initializer from container_info

2020-05-12 Thread Masahiro Yamada
You can omit .instance_size if it is the same as that of the parent. .class_size = sizeof(ObjectClass) ... is omitted here, so removing .instance_size is more consistent. Signed-off-by: Masahiro Yamada --- qom/container.c | 1 - 1 file changed, 1 deletion(-) diff --git a/qom/container.c