Re: vfio-pci rejects binding to devices having same pcie vendor id and device id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 8 Dec 2022 23:25:07 +0530
Major Saheb <majosaheb@xxxxxxxxx> wrote:

> Thanks Alex ,
> That works for me
> 
> ~$ sudo driverctl --nosave set-override 0000:00:05.0 vfio-pci
> ~$ sudo driverctl --nosave set-override 0000:00:06.0 vfio-pci
> ~$ sudo driverctl --nosave set-override 0000:00:07.0 vfio-pci
> admin@node-1:~$ sudo nvme list
> Node                  SN                   Model
>              Namespace Usage                      Format           FW
> Rev
> --------------------- --------------------
> ---------------------------------------- ---------
> -------------------------- ---------------- --------
> /dev/nvme10n1         akqvf2-0_10          QEMU NVMe Ctrl
>              1         274.88  GB / 274.88  GB    512   B +  0 B   1.0
> /dev/nvme11n1         akqvf2-0_11          QEMU NVMe Ctrl
>              1         274.88  GB / 274.88  GB    512   B +  0 B   1.0
> /dev/nvme5n1          akqvf2-0_5           QEMU NVMe Ctrl
>              1         274.88  GB / 274.88  GB    512   B +  0 B   1.0
> /dev/nvme6n1          akqvf2-0_6           QEMU NVMe Ctrl
>              1         274.88  GB / 274.88  GB    512   B +  0 B   1.0
> /dev/nvme7n1          akqvf2-0_7           QEMU NVMe Ctrl
>              1         274.88  GB / 274.88  GB    512   B +  0 B   1.0
> /dev/nvme8n1          akqvf2-0_8           QEMU NVMe Ctrl
>              1         274.88  GB / 274.88  GB    512   B +  0 B   1.0
> /dev/nvme9n1          akqvf2-0_9           QEMU NVMe Ctrl
>              1         274.88  GB / 274.88  GB    512   B +  0 B   1.0
> 
> I came across you blogspot after I fired the mail
> http://vfio.blogspot.com/2015/05/vfio-gpu-how-to-series-part-3-host.html
> Some should update https://docs.kernel.org/driver-api/vfio.html in
> public interest , If I knew how to do that I would do it,

Yes, that documentation is from before the driver_override method was
introduced.  There's some non vfio specific documentation of
driver_override here:

https://docs.kernel.org/admin-guide/abi-testing.html?highlight=driver_override#abi-sys-bus-pci-devices-driver-override

Otherwise, documentation updates gladly accepted.  This documentation
is part of the kernel source tree and follows the same process as
submitting code changes, outlined here:

https://docs.kernel.org/process/submitting-patches.html

The kvm@xxxxxxxxxxxxxxx mailing list handles patches for vfio, but
please keep me in Cc if you submit something.  Thanks,

Alex




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux