RHEL 8.2 GPU Passthrough for NVidia Quadro M2000

Latest response

Is there a complete set of instructions for GPU passthrough in RHEL 8.x?

I see the instructions for RHEL 7.x: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/sect-device-gpu.

I followed the first option as I do not have a compatible card for vGPU use. The NVidia Quadro M2000 does work with gpu passthrough. This method assigns a card to a single guest in KVM/QEMU. It does work in RHEL 7.

When I set this up in RHEL 8, I followed this: https://www.server-world.info/en/note?os=CentOS_8&p=kvm&f=12 but that didn't seem to work. Booting the VM with the GPU assigned caused the host to hang. I suspect this is caused by the GPU not being delisted in the kernel.

Responses

Hello, we currently do not have instructions for GPU passthrough in RHEL 8 documentation. I created an internal ticket about this and we will add the information for RHEL 8.4 at the latest.

Nevertheless, the steps to perform GPU passthrough in RHEL 8 should be fairly similar as in RHEL 7 - apart from the fact that changing kernel arguments for grub should be done via the "grubby" utility rather than by editing the configuration file and running "mkconfig".

For more information on configuring kernel command-line parameters in RHEL 8, see https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/managing_monitoring_and_updating_the_kernel/configuring-kernel-command-line-parameters_managing-monitoring-and-updating-the-kernel

Please let me know if this is satisfactory for the time being, or if you'd like any further help with this.