• Chris Wright's avatar
    PCI: add remove_id sysfs entry · 0994375e
    Chris Wright authored
    This adds a remove_id sysfs entry to allow users of new_id to later
    remove the added dynid.  One use case is management tools that want to
    dynamically bind/unbind devices to pci-stub driver while devices are
    assigned to KVM guests.  Rather than having to track which driver was
    originally bound to the driver, a mangement tool can simply:
    
    Guest uses device
    Signed-off-by: default avatarChris Wright <chrisw@sous-sol.org>
    Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
    0994375e
pci-driver.c 25 KB