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]

 



Sure , I will read the process and try to submit the patch.
Thanks.

On Thu, Dec 8, 2022 at 11:51 PM Alex Williamson
<alex.williamson@xxxxxxxxxx> wrote:
>
> 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]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux