Re: [PATCH v2 1/2] rust: pci: skip probing VFs if driver doesn't support VFs

Jason Gunthorpe
2025-10-02T18:32:22Z

On Thu, Oct 02, 2025 at 11:09:40AM -0700, John Hubbard wrote:
> On 10/2/25 11:05 AM, Jason Gunthorpe wrote:
> > On Thu, Oct 02, 2025 at 10:49:21AM -0700, John Hubbard wrote:
> >>> Forgot to add: But I think Zhi explained that this is not necessary and can be
> >>> controlled by the VFIO driver, i.e. the PCI driver that binds to the VF itself.
> >>
> >> Yes, this is the direction that I originally (3 whole days ago, haha) had in mind,
> >> after talking with Zhi and a few others: nova-core handles PFs, and the VFIO driver
> >> handles the VFs, and use the "is virtual" logic to sort them out.
> >
> > To be clear, no matter what the VFIO driver bound to the VF should not
> > become entangled with any aux devices.
>
> I was fine until you said "aux devices". :) What does that mean in this
> context?

Something using

struct auxiliary_device

Jason