This series fixes a regression using Xen's pciback with
kernels >= 3.16 containing
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/dr...
It makes use of the driver_override sysfs interface introduced
in kernel 3.12
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/dr...
This approach was suggested by Laine, falling back to using the new_id interface in the
absence of driver_override
https://www.redhat.com/archives/libvir-list/2016-June/msg02129.html
The first patch simplifies the existing logic in virPCIDeviceBindToStub,
making the second patch (which actually fixes the bug) a bit easier to
code (and hopefully review).
Jim Fehlig (2):
virpci: simplify virPCIDeviceBindToStub
virpci: support driver_override sysfs interface
src/util/virpci.c | 253 +++++++++++++++++++++++++++++++++++++-----------------
1 file changed, 173 insertions(+), 80 deletions(-)
--
2.1.4