@Hector
Sapphire rapids never had mpx in the xml, that's why we were removing it only 
from Cascade, Ice and Sky.

I just tried libvirt 8.0.0-1ubuntu7.12 on a newly installed 22.04 on a
Sapphire Rapids and now its being detected as Icelake instead of
Broadwell.

The patch removed mpx from Cascadelake, Skylake, Icelake-Server-noTSX
and Icelake-Server, but didn't remove from x86_Icelake-Client-noTSX.xml
and x86_Icelake-Client.xml, as you can see below.

Once I remove it and restart libvirt it gets properly detected as
Sapphire Rapids:

root@dellr760:/usr/share/libvirt/cpu_map# dpkg -s libvirt-daemon | grep Version
Version: 8.0.0-1ubuntu7.12

root@dellr760:/usr/share/libvirt/cpu_map# grep mpx *
x86_Cascadelake-Server-noTSX.xml:    <feature name='mpx' removed='yes'/>
x86_Cascadelake-Server.xml:    <feature name='mpx' removed='yes'/>
x86_Icelake-Client-noTSX.xml:    <feature name='mpx'/>                          
                <-----
x86_Icelake-Client.xml:    <feature name='mpx'/>                                
                <-----
x86_Icelake-Server-noTSX.xml:    <feature name='mpx' removed='yes'/>
x86_Icelake-Server.xml:    <feature name='mpx' removed='yes'/>
x86_Skylake-Client-IBRS.xml:    <feature name='mpx' removed='yes'/>
x86_Skylake-Client-noTSX-IBRS.xml:    <feature name='mpx' removed='yes'/>
x86_Skylake-Client.xml:    <feature name='mpx' removed='yes'/>
x86_Skylake-Server-IBRS.xml:    <feature name='mpx' removed='yes'/>
x86_Skylake-Server-noTSX-IBRS.xml:    <feature name='mpx' removed='yes'/>
x86_Skylake-Server.xml:    <feature name='mpx' removed='yes'/>
x86_features.xml:  <feature name='mpx'>

root@dellr760:/usr/share/libvirt/cpu_map# grep mpx x86_Icelake-Client-noTSX.xml 
x86_Icelake-Client.xml
x86_Icelake-Client-noTSX.xml:    <feature name='mpx'/>
x86_Icelake-Client.xml:    <feature name='mpx'/>

root@dellr760:/usr/share/libvirt/cpu_map# sudo virsh capabilities | grep -i 
model -m 1; sudo cat /proc/cpuinfo | grep "model name" -m 1
      <model>Icelake-Server-noTSX</model>
                                         model name     : Intel(R) Xeon(R) Gold 
6430

# remove mpx from Icelake-Clients...
root@dellr760:/usr/share/libvirt/cpu_map# grep mpx x86_Icelake-Client-noTSX.xml 
x86_Icelake-Client.xml
x86_Icelake-Client-noTSX.xml:    <feature name='mpx' removed='yes'/>
x86_Icelake-Client.xml:    <feature name='mpx' removed='yes'/>
root@dellr760:/usr/share/libvirt/cpu_map# systemctl restart libvirtd

root@dellr760:/usr/share/libvirt/cpu_map# sudo virsh capabilities | grep -i 
model -m 1; sudo cat /proc/cpuinfo | grep "model name" -m 1
      <model>SapphireRapids-noTSX</model>
                                         model name     : Intel(R) Xeon(R) Gold 
6430

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2084102

Title:
  Sapphire rapids not recognized by virsh capabilities

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-nova-compute/+bug/2084102/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to