doug65536 / unbindgpu

For each device not using VFIO, in the same MMIO group as a device using VFIO, rebind it to VFIO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Linux is obsessed with binding every USB controller. It is afraid that you have your keyboard and mouse connected to it, and you'll get locked out.

This script fixes that up, so, for example, the USB controller needs to be rebound to vfio-pci.

You still need to add vfio, vfio_iommu_type1, and vfio_pci module to /etc/modules and add vfio-pci.ids=10de:1c82,etc... on the command line.

About

For each device not using VFIO, in the same MMIO group as a device using VFIO, rebind it to VFIO


Languages

Language:Shell 71.0%Language:Makefile 29.0%