qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [uq/master PATCH 7/7 v8] target-i386: CPU model subclas


From: Eduardo Habkost
Subject: Re: [Qemu-devel] [uq/master PATCH 7/7 v8] target-i386: CPU model subclasses
Date: Mon, 10 Feb 2014 06:19:58 -0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Feb 10, 2014 at 01:23:37AM +0100, Andreas Färber wrote:
[...]
> >  /**
> >   * X86CPUClass:
> >   * @parent_realize: The parent class' realize handler.
> > @@ -49,6 +52,16 @@ typedef struct X86CPUClass {
> >      CPUClass parent_class;
> >      /*< public >*/
> >  
> > +    /* CPU model definition
> > +     * Should be eventually replaced by subclass-specific property defaults
> > +     */
> > +    X86CPUDefinition *cpu_def;
> > +    /* CPU model requires KVM to be enabled */
> > +    bool kvm_required;
> > +    /* Optional description of CPU model.
> > +     * If unavailable, cpu_def->model_id is used */
> > +    const char *model_description;
> 
> Here I wondered why you needed this? For PowerPCCPU subclasses we have
> reused DeviceClass::desc.

I was not aware of DeviceClass::desc. We can use it instead.

Do you prefer a respin, or an additional patch?

-- 
Eduardo



reply via email to

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