• Alex Williamson's avatar
    vfio-pci: Attempt bus/slot reset on release · bc4fba77
    Alex Williamson authored
    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>
    bc4fba77
vfio_pci.c 26 KB