Skip to content
Commit bc4fba77 authored by Alex Williamson's avatar Alex Williamson
Browse files

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: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 61d79256
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment