Re: [pci PATCH v4 1/4] pci-iov: Add support for unmanaged SR-IOV

From: Alexander Duyck
Date: Mon Mar 12 2018 - 12:02:03 EST


On Mon, Mar 12, 2018 at 12:59 AM, Christoph Hellwig <hch@xxxxxx> wrote:
> On Sun, Mar 11, 2018 at 09:59:09PM -0600, Alex Williamson wrote:
>> I still struggle to understand why we need this "unmanaged"
>> complication and how a user of the sysfs API is expected to have any
>> idea whether a PF is managed or unmanaged and why they should care.
>> Can't we just have a pci_simple_sriov_configure() helper and ignore
>> this unmanaged business? Thanks,
>
> Just a pci_simple_sriov_configure is exactly what I envisioned originally.

I can drop the "unmanaged" bits if that is what is wanted, but based
on previous conversations I thought there was some concern about the
kernel loading VFs when there was some foreign entity managing the VFs
other than the kernel.

Thanks.

- Alex