commit | bc4fba77124e2fe4eb14bcb52875c0b0228deace | [log] [tgz] |
---|---|---|
author | Alex Williamson <alex.williamson@redhat.com> | Thu Aug 07 11:12:07 2014 -0600 |
committer | Alex Williamson <alex.williamson@redhat.com> | Thu Aug 07 11:12:07 2014 -0600 |
tree | 32c9a964e7e40735ef6e9841f2509053f5e24729 | |
parent | 61d792562b53c610f9fe917f2bbc22218aa39c22 [diff] |
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>