If you use KVM virtualization on Linux, you might be familiar with PCI passthrough. Using an IOMMU, you can make your hardware available to guest operating systems for near native performance.

Intel’s solution to make their integrated graphics cards available to virtualized guests is Intel GVT-g. You can use it to virtualize GPUs to hand off to your virtual machines for enhanced performance compared to emulated graphics hardware.

This script will let you discover the types of virtualized GPUs your hardware supports, and will let you add and remove the virtualized devices.


You can check out the script on GitHub.