Configuring a PCI Express/GPU passthrough
In this section, we will see how to configure a PCI Express device and video adapters to be used directly in a VM.
Getting ready
PCI Express devices, such as a video adapter card support, was added in Proxmox since version 3.3. To enable this passthrough, the Proxmox node must have pve-kernel 3.10. The latest 3.10 kernel is only available for testing purposes through the pve test repository. In order to configure the PCI Express passthrough, the kernel 3.10 must be installed through a test repository. Note that there is no OpenVZ container support in kernel 3.10 and it is only in release candidate status. Before proceeding with this section, install the new kernel 3.10 on a test cluster. We can only add the PCI express and GPU passthrough to a VM from a CLI by adding arguments in the VM configuration file.
How to do it…
The following steps show how to enable standard non-GPU PCI Express devices, GPU-based devices, and GPU devices with embedded audio...