[Starlingx-discuss] Support IBRS cpu model.
chris.friesen at windriver.com
Fri Nov 16 15:49:58 UTC 2018
There's a problem with this patch. The way the VCpuModelFilter is
designed, the basic idea is that a host with a CPU model "later" in the
list can support guests with all CPU models "earlier" in the list.
According to  the "spec-ctrl" and "ssbd" CPU features require host
CPU microcode (i.e. that the host is detected as the "-IBRS" model)
before it can be used for guest CPUs. This means that a
"Skylake-Server" host cannot support a "Broadwell-IBRS" guest, which
violates the design of the VCpuModelFilter.
I think as part of adding the -IBRS models we'll have to also modify the
On 11/13/2018 11:54 PM, Sun, Austin wrote:
> Hi All:
> if install StarlingX in compute-node with cpu type 'Skylake-Server-IBRS' , it cannot use 'passthrough' type with keyword hw:cpu_model in favor to create instance
> It will prompt "No valid host was found. There are not enough hosts available. computer-0: (VCpuModelFilter) Host VCPU model Skylake-Server-IBRS required Passthrough Code 501"
> After investigation , Libvirt 4.7.0 supports *IBRS (for example IvyBridge-IBRS, Skylake-Server-IBRS) CPU model , but nova and meta favor does not support *IBRS CPU model yet.
> I have made patch for nova and glance.
> Nova will support *-IBRS type vcpu when select passthrough
> Glance will add metadata to support *-IBRS in hw:cpu_model
> Please review these PRs.
> Austin Sun.
>  https://github.com/starlingx-staging/stx-nova/pull/15
>  https://github.com/starlingx-staging/stx-glance/pull/4
> Starlingx-discuss mailing list
> Starlingx-discuss at lists.starlingx.io
More information about the Starlingx-discuss