Re: [PATCH 7/7] vfio: Use driver_override to avert binding to compromising drivers

2017-06-19 Thread Auger Eric
Hi Alex, On 10/06/2017 00:00, Alex Williamson wrote: > If a device is bound to a non-vfio, non-whitelisted driver while a > group is in use, then the integrity of the group is compromised and > will result in hitting a BUG_ON. This code tries to avoid this case > by mangling driver_override to

Re: [PATCH 7/7] vfio: Use driver_override to avert binding to compromising drivers

2017-06-19 Thread Auger Eric
Hi Alex, On 10/06/2017 00:00, Alex Williamson wrote: > If a device is bound to a non-vfio, non-whitelisted driver while a > group is in use, then the integrity of the group is compromised and > will result in hitting a BUG_ON. This code tries to avoid this case > by mangling driver_override to

[PATCH 7/7] vfio: Use driver_override to avert binding to compromising drivers

2017-06-09 Thread Alex Williamson
If a device is bound to a non-vfio, non-whitelisted driver while a group is in use, then the integrity of the group is compromised and will result in hitting a BUG_ON. This code tries to avoid this case by mangling driver_override to force a no-match for the driver. The driver-core will either

[PATCH 7/7] vfio: Use driver_override to avert binding to compromising drivers

2017-06-09 Thread Alex Williamson
If a device is bound to a non-vfio, non-whitelisted driver while a group is in use, then the integrity of the group is compromised and will result in hitting a BUG_ON. This code tries to avoid this case by mangling driver_override to force a no-match for the driver. The driver-core will either