AMD Instinct virtualization driver

AMD Instinct virtualization driver#

AMD MxGPU technology enables GPU virtualization through SR-IOV (Single Root I/O Virtualization), which lets virtual machines share AMD accelerator resources efficiently. This documentation covers configuration, deployment, and optimization for QEMU/KVM environments.

Supported hardware#

  • AMD Instinct MI210

  • AMD Instinct MI300X

  • AMD Instinct MI325X

  • AMD Instinct MI350X/MI355X

  • AMD Instinct MI350P

  • AMD Radeon PRO V710

Set up MxGPU#

Follow these guides in order. Each guide lists its prerequisites and links to the next step.

  1. Getting started with virtualization - Learn how SR-IOV, KVM, and QEMU work together, and review the supported GPUs and software stack.

  2. Host configuration - Configure the system BIOS and GRUB, install libvirt, and install the PF driver.

  3. GPU partitioning - Choose a compute and memory partitioning mode for each GPU.

  4. XGMI configuration - Set frame buffer sharing modes before you assign VFs to VMs.

  5. VM setup - Create a guest VM, attach a VF, and install the guest driver.

Steps 3 and 4 apply to multi-partition and multi-GPU deployments. If you are assigning a single VF to a single VM, you can go from step 2 to step 5.

Reference#

Configure the guest
Maintenance