Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Blacklist nouveau and nvidiafb drivers #54

Merged
merged 3 commits into from
Jan 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,19 @@ When passing GPU to VM running unikernel, the device cannot be in use by the hos

**/etc/modprobe.d/nvidia.conf**
```
blacklist nouveau
blacklist nvidia
blacklist nvidiafb
blacklist nvidia-drm
```

On Ubuntu the module blacklisting doesn't necessarily work as expected. In that case [driverctl](https://gitlab.com/driverctl/driverctl) can help:
```
sudo apt install driverctl
sudo driverctl set-override 0000:01:00.0 vfio-pci
sudo driverctl set-override 0000:01:00.1 vfio-pci
```

### Load VFIO & VSOCK modules

[VFIO](https://docs.kernel.org/driver-api/vfio.html) provides framework for virtual machines to utilize host machine hardware directly, allowing high performance device access.
Expand Down
Loading