**Description:**
Adds support for Intels GVT-d feature to passthrough an integrated graphics device to a bhyve-guest.
No dedicated graphic card is neccessary to use this feature. If there is no dedicated graphic card build in, the FreeBSD host runs headless after booting the guest.
**Prerequisites:**
- Intel CPU with VT-d
- BIOS option "PM Support" set to Enabled
- BIOS option "DVMT Pre-Allocated" set to 64 MB
**How to enable GVT-d:**
Add the new "igd" option to the passthru option of the integrated graphics device. For example "-s 2,passthru,0/2/0,igd".
//Caution:// This adds a pci-device at 0:1f.0 which is neccessary for the Intel GOP-driver to work.
A working bhyve config could be:
```
bhyve -c 2 -m 4G -A -H -S -w \
-s 0,hostbridge \
-s 2,passthru,0/2/0,igd \
-s 4,virtio-blk,/root/win/win10.img \
-s 5,virtio-net,tap10 \
-s 30,lpc \
-l com1,stdio \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
win10
```
**Tested Scenarios:**
- Windows guest (Working)
- Debian guest (Working with "pci=nocrs" as kernel cmdline option)
- FreeBSD guest (Not working)
**Known Issues:**
- The bhyve-edk2 doesn't contain the Intel GOP driver. Therefore, there is no graphical output while booting. First graphical output is displayed when the Guest-OS driver is loaded. This also means that there is no graphical output while installing an Guest-OS.