We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c476d34 + f3c279a commit 8036c7cCopy full SHA for 8036c7c
cmd/nvidia-validator/main.go
@@ -1541,7 +1541,10 @@ func (v *VfioPCI) runValidation() error {
1541
}
1542
1543
for _, dev := range nvdevices {
1544
- if dev.Driver != "vfio-pci" {
+ // TODO: Do not hardcode a list of VFIO driver names. This would be possible if we
1545
+ // added an API to go-nvlib which returns the most suitable VFIO driver for a GPU,
1546
+ // using logic similar to https://github.com/NVIDIA/k8s-driver-manager/commit/874c8cd26d775db437f16a42c3e44e74301b3a35
1547
+ if dev.Driver != "vfio-pci" && dev.Driver != "nvgrace_gpu_vfio_pci" {
1548
return fmt.Errorf("device not bound to 'vfio-pci'; device: %s driver: '%s'", dev.Address, dev.Driver)
1549
1550
0 commit comments