VfioIgdPkg - EFI drivers supporting IGD passthrough
April 9, 2025 ยท View on GitHub
The VfioIgdPkg repository provides EFI DXE drivers supporting Intel Integrated Graphics (IGD) passthrough with VFIO and QEMU.
According to OVMF Bug #935, upstream OVMF is not willing to accept the IGD-specific code. As a alternative solution, a virtual PCI Option ROM is used to provide required DXE drivers for initializing IGD device in guest and GOP display output. For more details, refer QEMU docs/igd-assign.txt.
This reposititory consists of two DXE drivers:
- IgdAssignmentDxe (Required): Sets up OpRegion and BDSM (Base of Data Stolen Memory) register.
- PlatformGopPolicy (Optional): Implements the protocol required by proprietary Intel GOP driver.
Build
# Build IgdAssignmentDxe only (NO GOP display output)
$ ./build.sh igd.rom
# Build with IntelGopDriver (with GOP display output)
$ ./build.sh --gop /path/to/IntelGopDriver.efi igd.rom
IntelGopDriver can be extracted from host firmware using tools like UEFITool or UEFI BIOS Updater.