[PATCH 0/2] virpci: support driver_override sysfs interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/drivers/pci/pci-driver.c?h=v3.16&id=8895d3bcb8ba960b1b83f95d772b641352ea8e51

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/drivers/pci/pci-driver.c?h=v3.12&id=782a985d7af26db39e86070d28f987cad21313c0

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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]