Ubuntu 26.04’s Virtualization HWE Stack: Enhanced with Newer QEMU & Libvirt

Ubuntu’s hardware enablement (HWE) initiative has introduced backported virtualization technologies for users of the current Long Term Support (LTS) release. This new virtualization HWE stack enables users to access newer versions of QEMU, libvirt, and other related firmware without relying on third-party repositories. According to Canonical’s Ijlal Loutfi, this advancement provides companies the reliability of an LTS release along with access to updates for virtualization when needed.
The HWE system is designed to bring newer versions of the Linux kernel, GPU drivers, and select foundational software from the latest Ubuntu release to older LTS releases. These updates are rolled out every six months, integrating well-tested packages from interim releases into the LTS iterations. For instance, the kernel and GPU driver updates from the upcoming Ubuntu 26.10 release will be integrated into the 26.04.2 HWE update in early 2027.
Details of the Ubuntu Virtualization HWE
The packages included in this stack comprise qemu-hwe, libvirt-hwe, edk2-hwe (which contains OVMF firmware), and seabios-hwe. These packages are not pre-installed with Ubuntu 26.04 LTS, which means users need to install them intentionally to benefit.
This feature is especially important for those running confidential computing workloads. Ubuntu 26.04 already accommodates AMD SEV-SNP and Intel TDX technology, which provides encryption for VM memory, ensuring that even the host remains secure from viewing the contents while it is operational. However, Canonical explains that integration of confidential computing features across all relevant components can take time.
For users who operate in environments requiring confidential VMs, this stack enables timely access to newer versions without having to wait for the next LTS release, which might not be feasible in many cases.
For users not engaged with virtualization technologies like KVM/QEMU and instead use platforms like Virtualbox or VMware Workstation, this update may not be relevant.
Setting Up the Virtualization HWE Stack on Ubuntu 26.04
Canonical has provided a helper tool to assist in enabling the new virtualization HWE in Ubuntu 26.04 LTS, which minimizes the chances of conflicts between HWE and non-HWE packages.
To install the helper tool, run the following command:
sudo apt install ubuntu-helper-virt-hwe
Once installed, executing ubuntu_virt_helper will let you determine your current configuration: base, hwe, or none.
To switch between the HWE and non-HWE versions, use:
sudo ubuntu_virt_helper switch
It’s also advisable to ensure the kernel HWE stack is installed:
sudo apt install linux-generic-hwe-26.04
After making these changes, a reboot will be necessary for the new packages to take effect.
Overall, this new virtualization stack provides a consistent and reliable pathway for those utilizing Ubuntu LTS versions in desktop, cloud, and enterprise settings.