diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2017-06-28 13:50:05 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2017-06-28 13:50:05 -0600 |
commit | 5d6dee80a1e94cc284d03e06d930e60e8d3ecf7d (patch) | |
tree | 58129874a688c31b0c110e85b1af920fd8474018 /drivers/crypto/s5p-sss.c | |
parent | e323369b2e204da4dc771bbddceef986f4bf85d5 (diff) | |
download | blackbird-obmc-linux-5d6dee80a1e94cc284d03e06d930e60e8d3ecf7d.tar.gz blackbird-obmc-linux-5d6dee80a1e94cc284d03e06d930e60e8d3ecf7d.zip |
vfio: New external user group/file match
At the point where the kvm-vfio pseudo device wants to release its
vfio group reference, we can't always acquire a new reference to make
that happen. The group can be in a state where we wouldn't allow a
new reference to be added. This new helper function allows a caller
to match a file to a group to facilitate this. Given a file and
group, report if they match. Thus the caller needs to already have a
group reference to match to the file. This allows the deletion of a
group without acquiring a new reference.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/crypto/s5p-sss.c')
0 files changed, 0 insertions, 0 deletions