Enabling KVM Virtualization on your NVIDIA AI Enterprise System#

To use virtualization in RHEL, you must install virtualization packages and ensure your system is configured to host virtual machines (VMs). The specific steps to do this vary based on your CPU architecture.

Enabling virtualization on x86 systems:#

To set up a KVM hypervisor and create virtual machines (VMs) on x86 systems running RHEL, follow the instructions below.

Tip

To enable virtualization on IBM Z and ARM 64 systems, please refer here.

Procedure

  1. Install the virtualization hypervisor packages.

    # dnf install qemu-kvm libvirt virt-install virt-viewer
    
  2. Start the virtualization services:

    # for drv in qemu network nodedev nwfilter secret storage interface; do systemctl start virt${drv}d{,-ro,-admin}.socket; done
    

Verification

  1. Verify that your system is prepared to be a virtualization host:

    # virt-host-validate
    
  2. If all virt-host-validate checks return a PASS value, your system is prepared for creating VMs. If any of the checks return a FAIL value, follow the displayed instructions to fix the problem. If any of the checks return a WARN value, consider following the displayed instructions to improve virtualization capabilities.

Tip

For troubleshooting please refer to Red Hat’s troubleshooting solutions for KVM.