>This can save host side resource usage by VF instances which would be >eventually probed to VMs. >Use a parameter to pci_enable_sriov to control that policy, and modify >all current callers such that they retain the same functionality. What's the end-game here? How eventually would this be controlled? >Use a one shot flag on struct pci_device which is cleared after the >first probe is ignored so subsequent attempts go through. Does a one-shot flag suffice? E.g., consider assigning a VF to VM and than shutting down the VM. Assuming this feature is disabled, the VF didn't appear on the hypervisor prior to the assignment but will appear after its shutdown.
<<attachment: winmail.dat>>