On Tue, Jun 12, 2018 at 03:58:03PM +0200, Igor Mammedov wrote:
[...]
> > > > +    if (xcc->host_cpuid_required && enable_cpu_pm) {
> > > > +        host_cpuid(5, 0, &cpu->mwait.eax, &cpu->mwait.ebx,
> > > > +                   &cpu->mwait.ecx, &cpu->mwait.edx);
> > > > +    }  
> > > could this state be migrated? or 'host' is still unmigratable?  
> > 
> > Host is still unmigratable.
> 'max' cpu model has 'migratable = true' property and 'host' is inherited from 
> it,
> hence was the question.

Host can be migratable if and only if the source and destination
CPUs + kernel + QEMU are exactly the same.  Not something I would
recommend to anyone, but still something we try not to break.

> 
> > 
> > > also max_x86_cpu_initfn() might be better place for filling it up.

Why?


-- 
Eduardo

Reply via email to