Prepare your RHEL 9 KVM host by enabling hardware virtualization, SR-IOV, and IOMMU
in the BIOS/kernel, installing necessary dependencies (Libvirt, OpenvSwitch), and
ensuring system compatibility for virtio, OVS networking, and SR-IOV hostdev.
- libvirt user setup: Configure /etc/libvirt/qemu.conf by
adding user = "libvirt-qemu", group =
"kvm", dynamic_ownership = 1, and
security_driver = "none", then restart
libvirtd with sudo systemctl restart
libvirtd.
- Permissions: Provision a sudo user for deployment.
- Synchronize all your KVM hosts using Network Time Protocol (NTP).
- The root partition on each host should have sufficient space to hold the VM
qcow2 images and the host software. The recommended minimum root partition
size is 256GB.