https://bugzilla.redhat.com/show_bug.cgi?id=1046919
The first two patches fix bugs in PCI device handling code, the third
patch provides a nice error message when nodedev detach is not supported
and the rest are tests for testing the bugs fixed in the first two
patches.
Jincheng Miao (1):
qemu: Don't detach devices if passthrough doesn't work
Jiri Denemark (8):
pci: Make reattach work for unbound devices
pci: Fix failure paths in detach
virpcitest: Show PCI device tested by each test
pci: Publish some internal code for virpcitest
virpcimock: Mock /sys/bus/pci/drivers_probe
virpcitest: More tests for device detach and reattach
virpcimock: Add PCI driver which always fails
virpcitest: Test virPCIDeviceDetach failure
src/libvirt_private.syms | 2 +
src/qemu/qemu_driver.c | 32 +++++---
src/util/virpci.c | 121 +++++++++++++++++-----------
src/util/virpci.h | 5 ++
tests/virpcimock.c | 76 ++++++++++++------
tests/virpcitest.c | 199 ++++++++++++++++++++++++++++++++++++++++++++++-
6 files changed, 355 insertions(+), 80 deletions(-)
--
1.8.5.3