From: Peter Crosthwaite <peter.crosthwa...@xilinx.com> QOM automatically inherits class and instance size from the parent class. No need to redefine as the same value as the parent.
CC: qemu-triv...@nongnu.org Signed-off-by: Peter Crosthwaite <peter.crosthwa...@xilinx.com> --- target-arm/cpu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/target-arm/cpu.c b/target-arm/cpu.c index 1bc227e..ed53df8 100644 --- a/target-arm/cpu.c +++ b/target-arm/cpu.c @@ -823,9 +823,7 @@ static void cpu_register(const ARMCPUInfo *info) { TypeInfo type_info = { .parent = TYPE_ARM_CPU, - .instance_size = sizeof(ARMCPU), .instance_init = info->initfn, - .class_size = sizeof(ARMCPUClass), .class_init = info->class_init, }; -- 1.8.3.rc1.44.gb387c77.dirty