commit | 97d0a6874478802b68e3bea7aa9b9a333d257182 | [log] [tgz] |
---|---|---|
author | Alex Williamson <alex.williamson@redhat.com> | Fri Jun 25 15:20:06 2021 -0600 |
committer | Alex Williamson <alex.williamson@redhat.com> | Mon Jun 28 14:09:01 2021 -0600 |
tree | fdc11ba1b81e755a993fc1d80200e5dc0159ad33 | |
parent | 0dd1b7fc3e7d30802d5839f6bf8957023b437ad4 [diff] |
vfio/mtty: Enforce available_instances The sample mtty mdev driver doesn't actually enforce the number of device instances it claims are available. Implement this properly. Link: https://lore.kernel.org/r/162465624894.3338367.12935940647049917981.stgit@omen Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed by: Kirti Wankhede <kwankhede@nvidia.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>