diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2014-08-07 21:12:04 +0400 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2014-08-07 21:12:04 +0400 |
commit | 61d792562b53c610f9fe917f2bbc22218aa39c22 (patch) | |
tree | 639616536bce3e1855e24b8c240f688b7e62f283 /scripts/mod | |
parent | 9c22e660ce8105debb497933b9900eaeb40836d2 (diff) | |
download | linux-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