The following series fixes few VFIO related host crashes during hotplug/unplug
or bind/unbind.

---

Shivaprasad G Bhat (9):
      Implement virPCIIsAKnownStub function
      Initialize the stubDriver of pci devices if bound to a valid one
      Add iommu group number info to virPCIDevice
      Refuse to reattach from vfio if the iommu group is in use by any domain
      Wait for vfio-pci device cleanups before reassinging the device to host 
driver
      Split reprobe action from the virPCIUnbindFromStub into a new function
      Pass activeDevs and inactiveDevs to virPCIDeviceUnbindFromStub and 
virPCIDeviceBindToStub
      Postpone reprobing till all the devices in iommu group are unbound from 
vfio
      Wait for iommmu device to go away before reprobing the host driver


 src/libvirt_private.syms |    1 
 src/util/virhostdev.c    |   18 +++
 src/util/virpci.c        |  289 ++++++++++++++++++++++++++++++++++++++--------
 src/util/virpci.h        |    2 
 tests/virpcimock.c       |  187 +++++++++++++++++++++++++++---
 tests/virpcitest.c       |  152 ++++++++++++++++++++----
 6 files changed, 555 insertions(+), 94 deletions(-)

--
Signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to