summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/vfio_spapr_eeh.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2014-08-07 19:12:07 +0200
committerAlex Williamson <alex.williamson@redhat.com>2014-08-07 19:12:07 +0200
commitbc4fba77124e2fe4eb14bcb52875c0b0228deace (patch)
tree32c9a964e7e40735ef6e9841f2509053f5e24729 /drivers/vfio/vfio_spapr_eeh.c
parentvfio-pci: Use mutex around open, release, and remove (diff)
downloadlinux-bc4fba77124e2fe4eb14bcb52875c0b0228deace.tar.xz
linux-bc4fba77124e2fe4eb14bcb52875c0b0228deace.zip
vfio-pci: Attempt bus/slot reset on release
Each time a device is released, mark whether a local reset was successful or whether a bus/slot reset is needed. If a reset is needed and all of the affected devices are bound to vfio-pci and unused, allow the reset. This is most useful when the userspace driver is killed and releases all the devices in an unclean state, such as when a QEMU VM quits. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/vfio_spapr_eeh.c')
0 files changed, 0 insertions, 0 deletions