Skip to content

LongQT-sea/VfioIgdPkg

 
 

Repository files navigation

VfioIgdPkg - EFI drivers supporting IGD passthrough

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.

About

DXE drivers supporting VFIO IGD passthrough

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 91.6%
  • Shell 4.7%
  • DenizenScript 3.4%
  • BitBake 0.3%