summaryrefslogtreecommitdiff
path: root/scripts/mod
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2014-08-07 21:12:04 +0400
committerAlex Williamson <alex.williamson@redhat.com>2014-08-07 21:12:04 +0400
commit61d792562b53c610f9fe917f2bbc22218aa39c22 (patch)
tree639616536bce3e1855e24b8c240f688b7e62f283 /scripts/mod
parent9c22e660ce8105debb497933b9900eaeb40836d2 (diff)
downloadlinux-61d792562b53c610f9fe917f2bbc22218aa39c22.tar.xz
vfio-pci: Use mutex around open, release, and remove
Serializing open/release allows us to fix a refcnt error if we fail to enable the device and lets us prevent devices from being unbound or opened, giving us an opportunity to do bus resets on release. No restriction added to serialize binding devices to vfio-pci while the mutex is held though. Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions