diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2014-08-07 11:12:07 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2014-08-07 11:12:07 -0600 |
commit | bc4fba77124e2fe4eb14bcb52875c0b0228deace (patch) | |
tree | 32c9a964e7e40735ef6e9841f2509053f5e24729 /drivers/vfio/vfio_spapr_eeh.c | |
parent | 61d792562b53c610f9fe917f2bbc22218aa39c22 (diff) | |
download | linux-stable-bc4fba77124e2fe4eb14bcb52875c0b0228deace.tar.gz linux-stable-bc4fba77124e2fe4eb14bcb52875c0b0228deace.tar.bz2 linux-stable-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