[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC untested PATCH] i386/cpu: make -cpu host support m
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [RFC untested PATCH] i386/cpu: make -cpu host support monitor/mwait |
Date: |
Tue, 12 Jun 2018 11:49:22 -0300 |
User-agent: |
Mutt/1.9.2 (2017-12-15) |
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