Chapter 18. Virtualization
This chapter lists the most notable changes to virtualization between RHEL 8 and RHEL 9.
18.1. Notable changes to KVM
KVM virtualization is no longer supported on IBM POWER
Red Hat Kernel-based Virtual Machine (KVM) for Red Hat Enterprise Linux 9.0 and later is not supported on IBM POWER hardware.
VM machine types based on RHEL 7.5 and earlier are unsupported
In RHEL 9, virtual machines (VMs) no longer support machine types based on RHEL 7.5 and earlier. For example, these include
18.2. Notable changes to libvirt
In RHEL 9, the
libvirt library uses modular daemons that handle individual virtualization driver sets on your host. For example, the
virtqemud daemon handles QEMU drivers. This makes it possible to fine-grain a variety of tasks that involve virtualization drivers, such as resource load optimization and monitoring.
In addition, the monolithic libvirt daemon,
libvirtd, has become deprecated. However, if you upgrade from RHEL 8 to RHEL 9, your host will still use
libvirtd, which you can continue using in RHEL 9.
Nevertheless, Red Hat recommends enabling modular
libvirt daemons instead. For instructions, see the Configuring and managing virtualization document.
Note, however, that if you switch to using modular
libvirt daemons, pre-configured tasks that use
libvirtd will stop working.
virsh iface-* commands are now unsupported
virsh iface-* commands, such as
virsh iface-start and
virsh iface-destroy, are no longer supported in RHEL 9. Due to the removal of the
netcf package, the majority of them do not work. To create and modify network interfaces, use
NetworkManager utilities, such as
18.3. Notable changes to QEMU
QEMU no longer includes the SGA option ROM
In RHEL 9, the Serial Graphics Adapter (SGA) option ROM has been replaced by an equivalent functionality in SeaBIOS. However, if your virtual machine (VM) configuration uses the following XML fragament, this change will not affect your VM functionality.
Other unsupported devices
QEMU no longer supports the following virtual devices:
The Cirrus graphics device. The default graphics devices are now set to
stdvgaon BIOS-based machines and
bochs-displayon UEFI-based machines.
ac97audio device. In RHEL 9,
18.4. Notable changes to SPICE
SPICE has become unsupported
In RHEL 9, the SPICE remote display protocol is no longer supported. Instead, Red Hat recommends using alternate solutions for remote display streaming:
For remote console access, use the VNC protocol. Note, however, that certain features available on SPICE are currently unsupported or do not work well on VNC. This includes:
- Smart card sharing from the host to the VM (It is now supported only by third party remote visualization solutions.)
- Audio playback from the VM to the host
- Automated VM screen resizing
- USB redirection from the host to the VM
- Drag & drop file transfer from the host to the VM
- In addition, VNC cannot be used by the GNOME Boxes application. As a consequence, Boxes is not available in RHEL 9. However, a modified version of Boxes that uses a different display protocol is planned to become available in a future major release of RHEL.
- For advanced remote display functions, use third party tools such as RDP, HP ZCentral Remote Boost, or Mechdyne TGX.
For graphical VMs hosted on RHEL 9, Red Hat recommends using the
virtio-gpu virtual graphics cards.