Jammy Libvirt Support for Intel Sapphire Rapids
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Undecided
|
Lena Voytek | ||
Jammy |
Fix Released
|
Undecided
|
Lena Voytek | ||
Lunar |
Won't Fix
|
Undecided
|
Lena Voytek |
Bug Description
[Impact]
Libvirt in previous versions of Ubuntu is missing support for Intel Sapphire Rapids processors.
This should be fixed as a part of hardware enablement.
The issue is fixed through a series of patches that add necessary CPU features and definitions, and adding support for alias names in Jammy.
[Test Plan]
To test the fix, an Intel Sapphire Rapids system must be used.
Install libvirt with:
$ sudo apt install qemu-kvm libvirt-
Then check the processor identification with virsh:
$ virsh capabilities
It should respond with a model of either SapphireRapids or SapphireRapids-
<capabilities>
<host>
<uuid>
<cpu>
<
<
<
...
[Where problems could occur]
The series of patches provided for this fix all relate to one of two categories. The first is CPU map and feature additions, which includes patches with the name *add-missing-
The second category is patches that enable support for alias names in features in Jammy. These make some fundamental changes to CPU map interpretation, and could cause general issues checking features for CPU models.
[Other Info]
The fix for this is included alongside the fix for https:/
[Original Description]
Hi,
Few months back, libvirt upstream now have support for Intel Sapphire Rapids CPU model support.
https:/
It would be great if that can be backported to jammy libvirt release.
Related branches
- git-ubuntu bot: Approve
- Bryce Harrington (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 1801 lines (+1633/-0)26 files modifieddebian/changelog (+7/-0)
debian/libvirt0.install (+2/-0)
debian/patches/series (+24/-0)
debian/patches/ubuntu/lp-2028057-01-alias-names-allow-additional-feature-node-children.patch (+33/-0)
debian/patches/ubuntu/lp-2028057-02-alias-names-ignore.patch (+45/-0)
debian/patches/ubuntu/lp-2028057-03-alias-names-make-machine-readable.patch (+161/-0)
debian/patches/ubuntu/lp-2028057-04-qemu-i386-sync-cpu-features.patch (+292/-0)
debian/patches/ubuntu/lp-2028057-05-add-missing-feature-amx.patch (+41/-0)
debian/patches/ubuntu/lp-2028057-06-qemu-i386-rename-file.patch (+15/-0)
debian/patches/ubuntu/lp-2028057-07-alias-names-add-to-features.patch (+39/-0)
debian/patches/ubuntu/lp-2028057-08-add-missing-feature-sgx.patch (+236/-0)
debian/patches/ubuntu/lp-2028057-09-add-missing-feature-sgxlc.patch (+83/-0)
debian/patches/ubuntu/lp-2028057-10-add-missing-feature-sgx-exinfo.patch (+22/-0)
debian/patches/ubuntu/lp-2028057-11-add-missing-feature-sgx1.patch (+21/-0)
debian/patches/ubuntu/lp-2028057-12-add-missing-feature-sgx2.patch (+20/-0)
debian/patches/ubuntu/lp-2028057-13-add-missing-feature-sgx-additional.patch (+36/-0)
debian/patches/ubuntu/lp-2028057-14-add-missing-feature-bus-lock-detect.patch (+20/-0)
debian/patches/ubuntu/lp-2028057-15-add-missing-feature-pks.patch (+52/-0)
debian/patches/ubuntu/lp-2028057-16-add-missing-feature-avx512-vp2intersect.patch (+20/-0)
debian/patches/ubuntu/lp-2028057-17-add-missing-feature-avx512-fp16.patch (+20/-0)
debian/patches/ubuntu/lp-2028057-18-add-missing-feature-serialize.patch (+20/-0)
debian/patches/ubuntu/lp-2028057-19-add-missing-feature-tsx-ldtrk.patch (+20/-0)
debian/patches/ubuntu/lp-2028057-20-add-missing-feature-arch-lbr.patch (+20/-0)
debian/patches/ubuntu/lp-2028057-21-add-missing-feature-xfd.patch (+20/-0)
debian/patches/ubuntu/lp-2028057-22-add-missing-feature-intel-pt-lip.patch (+54/-0)
debian/patches/ubuntu/lp-2028057-23-add-new-CPU-model-Intel-SapphireRapids.patch (+310/-0)
- git-ubuntu bot: Approve
- Bryce Harrington (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 1118 lines (+1058/-0)8 files modifieddebian/changelog (+7/-0)
debian/libvirt0.install (+1/-0)
debian/patches/series (+5/-0)
debian/patches/ubuntu/lp-2028057-cpu_map-add-feature-fsrc.patch (+36/-0)
debian/patches/ubuntu/lp-2028057-cpu_map-add-feature-fsrs.patch (+36/-0)
debian/patches/ubuntu/lp-2028057-cpu_map-add-feature-fzrm.patch (+36/-0)
debian/patches/ubuntu/lp-2028057-cpu_map-define-and-enable-Intel-Sapphire-Rapids.patch (+182/-0)
debian/patches/ubuntu/lp-2028057-qemucapabilitiesdata-update-capabilities.patch (+755/-0)
Changed in libvirt (Ubuntu): | |
status: | New → Triaged |
tags: | added: server-todo |
Changed in libvirt (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Lena Voytek (lvoytek) |
Changed in libvirt (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in libvirt (Ubuntu Jammy): | |
assignee: | nobody → Lena Voytek (lvoytek) |
Changed in libvirt (Ubuntu Lunar): | |
assignee: | nobody → Lena Voytek (lvoytek) |
Changed in libvirt (Ubuntu Lunar): | |
status: | New → In Progress |
Changed in libvirt (Ubuntu Jammy): | |
status: | New → In Progress |
tags: |
added: verification-done removed: verification-needed |
Hello Ammad,
I created a PPA for lunar and jammy that backports Sapphire Rapids support here: https:/ /launchpad. net/~lvoytek/ +archive/ ubuntu/ libvirt- sapphirerapids- uri
If you would like to test it you can run the following:
$ sudo add-apt-repository ppa:lvoytek/ libvirt- sapphirerapids- uri
$ sudo apt update
$ sudo apt upgrade
Thanks!