On Wed, Jan 16, 2013 at 06:32:48AM +0100, Andreas Färber wrote:
[...]
> @@ -2247,6 +2247,9 @@ static void x86_cpu_common_class_init(ObjectClass *oc, 
> void *data)
>  {
>      X86CPUClass *xcc = X86_CPU_CLASS(oc);
>      CPUClass *cc = CPU_CLASS(oc);
> +    DeviceClass *dc = DEVICE_CLASS(oc);
> +
> +    dc->realize = x86_cpu_realizefn;

The DeviceClass documenation says:

"Any type may override the @realize and/or @unrealize callbacks but
needs to call (and thus save) the parent type's implementation if so
desired."

Why are you not following it?

-- 
Eduardo

Reply via email to