qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC qom-cpu 03/15] target-i386: Update CPU to QOM real


From: Eduardo Habkost
Subject: Re: [Qemu-devel] [RFC qom-cpu 03/15] target-i386: Update CPU to QOM realizefn
Date: Wed, 16 Jan 2013 14:04:24 -0200
User-agent: Mutt/1.5.21 (2010-09-15)

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

[Prev in Thread] Current Thread [Next in Thread]