Re: [RFC PATCH 0/7] vfio/pci: SR-IOV support
From: Christoph Hellwig
Date: Wed Feb 05 2020 - 02:01:20 EST
On Tue, Feb 04, 2020 at 04:05:34PM -0700, Alex Williamson wrote:
> We address this in a few ways in this series. First, we can use a bus
> notifier and the driver_override facility to make sure VFs are bound
> to the vfio-pci driver by default. This should eliminate the chance
> that a VF is accidentally bound and used by host drivers. We don't
> however remove the ability for a host admin to change this override.
That is just such a bad idea. Using VFs in the host is a perfectly
valid use case that you are breaking.