Chapter 24. Virtualization
The most notable changes to virtualization between RHEL 9 and RHEL 10 include the following:
- The
i440fx-rhel7.6machine type has been removed In RHEL 10, the
i440fx-rhel7.6machine type for virtual machines (VMs) has been replaced byi440fx-rhel10.0. As a consequence, VMs that usei440fx-rhel7.6cannot boot after upgrading your host to RHEL 10. Similarly, live-migrating a VM that usesi440fx-rhel7.6to a RHEL 10 host causes the VM to stop working.To verify the machine type of a VM, use the following command:
virsh dumpxml <vm-name> | grep "machine=" <type arch='x86_64' machine='pc-i440fx-rhel7.6'>hvm</type>
# virsh dumpxml <vm-name> | grep "machine=" <type arch='x86_64' machine='pc-i440fx-rhel7.6'>hvm</type>Copy to Clipboard Copied! Toggle word wrap Toggle overflow To ensure that a VM with the
i440fx-rhel7.6machine type can run on your RHEL 10 host, do the following:Open the XML configuration of the VM:
virsh edit <vm-name>
# virsh edit <vm-name>Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
On the
<type>line, change themachineparameter topc-i440fx-rhel10.0. - Save and exit the VM configuration.
Note that the
i440fxmachine type has also become deprecated in RHEL 10, and will be removed comletely in a future major version of RHEL.
virt-v2vremoves support for certain Red Hat productsIn RHEL 10, the
virt-v2vtool can no longer convert virtual machines from a RHEL 5 Xen host to KVM.In addition,
virt-v2vno longer supports exporting virtual machines to Red Hat Virtualization (RHV). As a consequence, the following options are no longer available invirt-v2v:-
-o rhv-upload -
-o rhv -
-o vdsm
-
virt-p2vconversion is not available-
The
virt-p2vtool cannot be used to convert a physical machine into a KVM virtual machine for a RHEL 10 host. For instructions on usingvirt-p2vfor RHEL 7, RHEL 8, and RHEL 9, see the Red Hat KnowledgeBase.
- RDMA-based migration has become unsupported
-
In RHEL 10, migrating virtual machines (VMs) by using Remote Direct Memory Access (RDMA) is no longer supported. Therefore, Red Hat highly discourages using the
rdmaURI for VM migration.
- Legacy CPU models are now removed
A significant number of CPU models that were deprecated in RHEL 9 have become become unsupported, and can no longer be used in virtual machines (VMs) in RHEL 10. The removed models are as follows:
- For Intel: models before Intel Xeon 55xx and 75xx Processor families (also known as Nehalem)
- For AMD: models before AMD Opteron G4
- For IBM Z: models before IBM z14
Note that several other CPU models, including Nehalem and Opteron G4, have become deprecated in RHEL 10, and will become unsupported in a future major release of RHEL. For a complete list of the deprecated CPU models, use the following command:
/usr/libexec/qemu-kvm -cpu help | grep depre | grep -v - -v
/usr/libexec/qemu-kvm -cpu help | grep depre | grep -v - -vCopy to Clipboard Copied! Toggle word wrap Toggle overflow To check whether your VM is using a deprecated CPU model, use the
virsh dominfoutility, and look for a line similar to the following in theMessagessection:tainted: use of deprecated configuration settings deprecated configuration: CPU model 'Nehalem'
tainted: use of deprecated configuration settings deprecated configuration: CPU model 'Nehalem'Copy to Clipboard Copied! Toggle word wrap Toggle overflow